Rather not get woken up by the morning briefing when K isn't here

This commit is contained in:
2023-05-08 18:42:45 -04:00
parent 4a4e80c256
commit 23374fb000

View File

@ -176,7 +176,16 @@ automation:
entity_id: input_boolean.good_morning
state: 'off'
sequence:
- service: script.morning_briefing
- if:
- condition: template
value_template: >
{% if is_state('input_boolean.kallen_school_today','on') and is_state('input_boolean.kallen_overnight','on') %}
false
{% else %}
true
{% endif %}
then:
- service: script.morning_briefing
- conditions:
- condition: and
conditions: