Adjustments for K having summer BTB
This commit is contained in:
@ -54,7 +54,9 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% if is_state('input_boolean.school_in_session','on') %}
|
||||
{% if is_state('input_boolean.school_in_session','off') and is_state('input_boolean.kallen_btb','on') %}
|
||||
You have Beyond The Bells today. It is scheduled to end at {{ input_datetime_read('input_datetime.kallen_school_day_end') | trim }}.
|
||||
{% elif is_state('input_boolean.school_in_session','on') %}
|
||||
{% if is_state('input_boolean.kallen_school_today', 'on') %}
|
||||
{% if count_the_days('input_datetime.school_first_day') | int == 0 %}
|
||||
Today is the first day of school!
|
||||
|
@ -20,10 +20,14 @@
|
||||
'Because you want to be ready for school tomorrow.'
|
||||
] | random }}
|
||||
{% if is_state('binary_sensor.kallen_btb_tomorrow','on') %}
|
||||
{{ [ 'You have Beyond The Bells tomorrow after school. ',
|
||||
'You will be staying a little later after school tomorrow to further your learning endeavors. ',
|
||||
'Tomorrow is a BTB day. '
|
||||
] | random }}
|
||||
{% if is_state('input_boolean.school_in_session','on') %}
|
||||
{{ [ 'You have Beyond The Bells tomorrow after school. ',
|
||||
'You will be staying a little later after school tomorrow to further your learning endeavors. ',
|
||||
'Tomorrow is a BTB day. '
|
||||
] | random }}
|
||||
{% else %}
|
||||
'You have a summer session of Beyond The Bells tomorrow. '
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set month=states("sensor.date").split('-')[1] | int %}
|
||||
|
Reference in New Issue
Block a user