Improve situations where wife worked today but is done now
This commit is contained in:
@ -345,8 +345,11 @@ Tony does not have a stream scheduled today. The next scheduled stream is in {{
|
||||
Tina is at work right now. She will be done at approximately {{ input_datetime_12hr('input_datetime.tina_workday_end') }} today.
|
||||
{% elif is_state('input_boolean.work_today','on') %}
|
||||
Tina has work at {{ input_datetime_12hr('input_datetime.tina_workday_start') }} today.
|
||||
{% elif is_state('binary_sensor.evening','on') and is_state('binary_sensor.tina_work_tomorrow','on') %}
|
||||
Tina has work tomorrow at {{ diff | timestamp_custom('%H:%M %p',false) }}.
|
||||
{% elif is_state('input_boolean.work_today_extended','on') and is_state('input_boolean.work_today','off') %}
|
||||
Tina has finished work for the day.
|
||||
{% if is_state('binary_sensor.tina_work_tomorrow','on') %}
|
||||
She has work tomorrow at {{ diff | timestamp_custom('%H:%M %p',false) }}.
|
||||
{% endif %}
|
||||
{% else %}
|
||||
Tina has today off from work.
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user