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: Meal Time
trigger:
- platform: event
event_type: mealtime
- platform: state
entity_id: input_boolean.meal_time
state: 'on'
from: 'off'
action:
- service: light.turn_on
@@ -15,3 +17,5 @@
- service: light.turn_off
entity_id:
- group.living_room_lights
- service: input_boolean.turn_off
entity_id: input_boolean.meal_time