Another change for wife's later shifts
This commit is contained in:
@ -132,7 +132,11 @@ automation:
|
|||||||
{% if is_state('input_boolean.school_today','on') %}
|
{% if is_state('input_boolean.school_today','on') %}
|
||||||
08:20
|
08:20
|
||||||
{% elif is_state('input_boolean.work_today','on') and is_state('input_boolean.school_today','off') %}
|
{% elif is_state('input_boolean.work_today','on') and is_state('input_boolean.school_today','off') %}
|
||||||
{{ (state_attr('input_datetime.tina_workday_start', 'timestamp') - 1800) | timestamp_custom('%H:%M', false) }}
|
{% if (state_attr('input_datetime.tina_workday_start','timestamp')) > 43200 %}
|
||||||
|
12:00
|
||||||
|
{% else %}
|
||||||
|
{{ (state_attr('input_datetime.tina_workday_start', 'timestamp') - 1800) | timestamp_custom('%H:%M', false) }}
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
12:00
|
12:00
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user