Changes for weirdness with E's nap tracking #201
This commit is contained in:
@ -193,7 +193,7 @@ automation:
|
|||||||
entity_id: input_boolean.emma_has_napped
|
entity_id: input_boolean.emma_has_napped
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: time
|
- condition: time
|
||||||
after: "17:30:00"
|
after: "18:00:00"
|
||||||
before: "01:00:00"
|
before: "01:00:00"
|
||||||
then:
|
then:
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
@ -208,6 +208,14 @@ automation:
|
|||||||
{{ current_time('datetime',24) }}
|
{{ current_time('datetime',24) }}
|
||||||
- delay:
|
- delay:
|
||||||
seconds: 1
|
seconds: 1
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.emma_scheduling_evening_ran
|
||||||
|
state: 'on'
|
||||||
|
then:
|
||||||
|
- service: script.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: script.emma_bedroom_scheduling_evening
|
||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
who: parents
|
who: parents
|
||||||
|
Reference in New Issue
Block a user