Add morning announcements for K
This commit is contained in:
@ -394,11 +394,7 @@ script:
|
||||
{% set kallenbriefing = state_attr('input_datetime.kallen_morning_briefing','timestamp') %}
|
||||
{% set kallenloc = states('input_select.kallen_morning_briefing_location') %}
|
||||
{% if is_state('input_boolean.kallen_school_today','on') %}
|
||||
{% if is_state('input_boolean.two_hour_delay','on') %}
|
||||
9:20
|
||||
{% else %}
|
||||
{{ (state_attr('input_datetime.kallen_school_day_start','timestamp') - 2400) | timestamp_custom('%H:%M', false) }}
|
||||
{% endif %}
|
||||
{{ (state_attr('input_datetime.kallen_school_day_start','timestamp') - 3300) | timestamp_custom('%H:%M', false) }}
|
||||
{% elif is_state('input_boolean.work_today','on') and is_state('input_boolean.kallen_school_today','off') %}
|
||||
{% if (state_attr('input_datetime.tina_workday_start','timestamp')) > 43200 %}
|
||||
{% if kallenloc == 'Common Areas' and kallenbriefing == 43200 %}
|
||||
|
Reference in New Issue
Block a user