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