Add morning announcements for K
This commit is contained in:
@ -61,6 +61,10 @@ input_text:
|
||||
name: Kallen Briefing Extras
|
||||
icon: mdi:plus
|
||||
max: 255
|
||||
kallen_morning_announcements:
|
||||
name: Kallen Morning Announcements
|
||||
icon: mdi:bullhorn
|
||||
max: 255
|
||||
|
||||
input_boolean:
|
||||
briefing_extras:
|
||||
@ -69,6 +73,9 @@ input_boolean:
|
||||
kallen_briefing_extras:
|
||||
name: Kallen Briefing Extras
|
||||
icon: mdi:plus
|
||||
kallen_morning_announcements:
|
||||
name: Kallen Morning Announcements
|
||||
icon: mdi:bullhorn
|
||||
good_morning:
|
||||
name: Good Morning Ran
|
||||
icon: mdi:home-analytics
|
||||
|
@ -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