Cancel timer if lights are turned off in E's room
This commit is contained in:
@ -289,6 +289,9 @@ automation:
|
||||
- condition: trigger
|
||||
id: lights-off
|
||||
sequence:
|
||||
- service: timer.cancel
|
||||
target:
|
||||
entity_id: timer.emma_bedtime_update
|
||||
- if:
|
||||
- condition: state
|
||||
entity_id: input_boolean.emma_sleeping
|
||||
|
Reference in New Issue
Block a user