mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 09:58:17 +00:00
Adding in some Dash Buttons - Got Dsher working with SSL certs
This commit is contained in:
33
automation/dash_buttons.yaml
Executable file
33
automation/dash_buttons.yaml
Executable 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
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
Switches:
|
||||
entities:
|
||||
- switch.halloween_lights_den
|
||||
- switch.halloween_lights_dining_room
|
||||
- switch.foyer_outlet
|
||||
- switch.kitchen_Accents
|
||||
- switch.printer_outlet
|
||||
|
||||
Reference in New Issue
Block a user