Adding in some Dash Buttons - Got Dsher working with SSL certs

This commit is contained in:
CCOSTAN
2016-11-23 23:56:28 +00:00
parent 902089ceb9
commit 604cd100d8
8 changed files with 129 additions and 5 deletions

33
automation/dash_buttons.yaml Executable file
View File

@@ -0,0 +1,33 @@
###################################
## Press a dash Button and then stuff happens.
###################################
- alias: 'Toggle Office Light on if off'
trigger:
- platform: event
event_type: brooklyn_dash
condition:
- condition: state
entity_id: light.office_lamp
state: 'off'
action:
- service: light.turn_on
entity_id: light.office_lamp
- alias: 'Toggle Office Light off if on'
trigger:
- platform: event
event_type: brooklyn_dash
condition:
- condition: state
entity_id: light.office_lamp
state: 'on'
action:
- service: light.turn_off
entity_id: light.office_lamp

View File

@@ -1,8 +0,0 @@
Switches:
entities:
- switch.halloween_lights_den
- switch.halloween_lights_dining_room
- switch.foyer_outlet
- switch.kitchen_Accents
- switch.printer_outlet