Fix K's bedtime set wrong on last day of summer break
This commit is contained in:
@ -283,12 +283,10 @@ script:
|
|||||||
entity_id: input_datetime.kallen_bedtime
|
entity_id: input_datetime.kallen_bedtime
|
||||||
data:
|
data:
|
||||||
time: >
|
time: >
|
||||||
{% if is_state('input_boolean.school_in_session','on') %}
|
{% if is_state('binary_sensor.kallen_school_tomorrow', 'on') %}
|
||||||
{% if is_state('binary_sensor.kallen_school_tomorrow', 'on') %}
|
21:00
|
||||||
21:00
|
{% elif is_state('input_boolean.school_in_session','on') %}
|
||||||
{% else %}
|
22:00
|
||||||
22:00
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
23:00
|
23:00
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user