Adjustments for K having summer BTB

This commit is contained in:
2024-06-02 14:05:51 -04:00
parent e687183ac2
commit 41ca84a562
5 changed files with 45 additions and 15 deletions

View File

@ -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 %}