Closes #72 - Move IFTTT triggers locally to Input_booleans

This commit is contained in:
CCOSTAN
2017-02-23 21:50:00 +00:00
parent 3eb7f488b8
commit 0f1102fd68
7 changed files with 93 additions and 29 deletions

19
automation/flash_all.yaml Executable file
View File

@@ -0,0 +1,19 @@
######################################################################
## Turn off my Office light whenever I leave the house.
######################################################################
- alias: 'Carlo has left the building'
trigger:
- platform: state
entity_id: input_boolean.flash
state: 'on'
from: 'off'
action:
- service: light.turn_on
entity_id:
- group.all_lights
data:
flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash