Forgot to convert a timestamp to HH:MM
This commit is contained in:
@ -575,7 +575,7 @@ script:
|
|||||||
data:
|
data:
|
||||||
time: >
|
time: >
|
||||||
{% if is_state('input_boolean.work_today','on') %}
|
{% if is_state('input_boolean.work_today','on') %}
|
||||||
{{ state_attr('input_datetime.tina_workday_start','timestamp') | int - 1800 }}
|
{{ (state_attr('input_datetime.tina_workday_start','timestamp') | int - 1800) | timestamp_custom('%H:%M', false) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ states('input_datetime.master_bedroom_wakeup') }}
|
{{ states('input_datetime.master_bedroom_wakeup') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user