Fixed 'states' with 'is_state'
This commit is contained in:
@ -81,7 +81,7 @@ automation:
|
|||||||
entity_id: input_datetime.kallen_wakeup_time
|
entity_id: input_datetime.kallen_wakeup_time
|
||||||
data_template:
|
data_template:
|
||||||
time: >
|
time: >
|
||||||
{% if states('input_boolean.school_today', 'on') %}
|
{% if is_state('input_boolean.school_today', 'on') %}
|
||||||
07:30
|
07:30
|
||||||
{% else %}
|
{% else %}
|
||||||
08:00
|
08:00
|
||||||
@ -90,7 +90,7 @@ automation:
|
|||||||
entity_id: input_datetime.kallen_bedtime
|
entity_id: input_datetime.kallen_bedtime
|
||||||
data_template:
|
data_template:
|
||||||
time: >
|
time: >
|
||||||
{% if states('sensor.school_tomorrow', 'on') %}
|
{% if is_state('sensor.school_tomorrow', 'on') %}
|
||||||
21:00
|
21:00
|
||||||
{% else %}
|
{% else %}
|
||||||
22:00
|
22:00
|
||||||
@ -99,7 +99,7 @@ automation:
|
|||||||
entity_id: input_datetime.kallen_nightly_briefing
|
entity_id: input_datetime.kallen_nightly_briefing
|
||||||
data_template:
|
data_template:
|
||||||
time: >
|
time: >
|
||||||
{% if states('sensor.school_tomorrow', 'on') %}
|
{% if is_state('sensor.school_tomorrow', 'on') %}
|
||||||
20:40
|
20:40
|
||||||
{% else %}
|
{% else %}
|
||||||
21:40
|
21:40
|
||||||
|
Reference in New Issue
Block a user