Rather not get woken up by the morning briefing when K isn't here
This commit is contained in:
@ -176,6 +176,15 @@ automation:
|
|||||||
entity_id: input_boolean.good_morning
|
entity_id: input_boolean.good_morning
|
||||||
state: 'off'
|
state: 'off'
|
||||||
sequence:
|
sequence:
|
||||||
|
- 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
|
- service: script.morning_briefing
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: and
|
- condition: and
|
||||||
|
Reference in New Issue
Block a user