Always play Emma wakeup announcement, and play it in common areas

This commit is contained in:
2025-03-29 01:15:20 -04:00
parent 6fa762a113
commit 10deee4f04

View File

@ -810,16 +810,11 @@ script:
datetime: > datetime: >
{% from 'time.jinja' import set_datetime %} {% from 'time.jinja' import set_datetime %}
{{ set_datetime(0,5) }} {{ set_datetime(0,5) }}
- if: - service: script.speech_engine
- condition: state data:
entity_id: binary_sensor.basement_occupied who: common
state: 'on' type: normal
then: message: Emma has awoken, so it is time to make your way upstairs now
- service: script.speech_engine
data:
who: basement
type: normal
message: Emma has awoken, so it is time to make your way upstairs now
- service: input_datetime.set_datetime - service: input_datetime.set_datetime
target: target:
entity_id: input_datetime.emma_awake_at entity_id: input_datetime.emma_awake_at