mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-08 02:38:10 +00:00
Closes #72 - Move IFTTT triggers locally to Input_booleans
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user