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

View File

@@ -4,8 +4,10 @@
- alias: 'Good Night Trigger'
trigger:
- platform: event
event_type: good_night
- platform: state
entity_id: input_boolean.good_night
state: 'on'
from: 'off'
- platform: state
entity_id:
- binary_sensor.sleepnumber_carlo_carlo_is_in_bed
@@ -27,6 +29,9 @@
state: 'on'
action:
- service: input_boolean.turn_off
entity_id: input_boolean.good_night
- service: script.Voice_notify
data_template:
value1: >