More school delay and cancellation awareness #38
This commit is contained in:
@ -272,7 +272,7 @@
|
||||
Tina has work today.
|
||||
{% endif %}
|
||||
|
||||
{% if is_state('input_boolean.school_today', 'on') and state_attr('input_datetime.school_day_end', 'timestamp') < as_timestamp(now()) %}
|
||||
{% if is_state('input_boolean.school_today', 'on') %}
|
||||
{% if is_state('sensor.school_start_days2go', '0') %}
|
||||
Today is the first day of school! There are {{ states('sensor.school_end_days2go') }} to go until the last day.
|
||||
{% else %}
|
||||
@ -280,12 +280,18 @@
|
||||
'Colin has school today.',
|
||||
'It is a school day. '
|
||||
] | random }}
|
||||
{% if is_state('input_boolean.kallen_two_hour_delay','on') %}
|
||||
'But there is a two hour delay. '
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<s>Pickup today will be at {{(state_attr('input_datetime.school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}</s>
|
||||
{% if 'Early Release' in states('sensor.school_event') %}
|
||||
And It is early release!
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if is_state('input_boolean.kallen_school_cancelled','on') %}
|
||||
'School has been cancelled for today. '
|
||||
{% endif %}
|
||||
{% if states.sensor.school_end_days2go.state | int <= 35 and states.sensor.school_end_days2go.state | int > 0 %}
|
||||
{{ [ 'Oh, and look at that.',
|
||||
'For those trying to keep count. ',
|
||||
|
@ -95,7 +95,11 @@
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
{% if is_state('input_boolean.school_today', 'off') %}
|
||||
And look at that. You do not have school today.
|
||||
{% if is_state('input_boolean.kallen_school_cancelled','on') %}
|
||||
"School is cancelled for today. "
|
||||
{% else %}
|
||||
"And look at that. You do not have school today. "
|
||||
{% endif %}
|
||||
{{ [ 'Guess today would be a good day to clean your room.',
|
||||
'You could always do some chores. HA, good one.',
|
||||
'Want to play a nice game of chess? Sorry. I meant, want to play Beam NG?',
|
||||
|
@ -10,6 +10,8 @@
|
||||
{% else %}
|
||||
"You have school today, and it is running on time. "
|
||||
{% endif %}
|
||||
{% elif is_state('input_boolean.kallen_school_cancelled','on') %}
|
||||
"School has been cancelled for today! "
|
||||
{% else %}
|
||||
"You do not have school today. Enjoy your day off! "
|
||||
{% endif %}
|
||||
|
@ -32,8 +32,10 @@
|
||||
'I hope school was as boring, uh I mean exciting as ever! ',
|
||||
'Hopefully your day at school was educational and fun! ',
|
||||
'Do not forget to do your homework! ',
|
||||
'You must be glad that you school day is over! '
|
||||
'You must be glad that your school day is over! '
|
||||
] | random }}
|
||||
{% elif is_state('input_boolean.kallen_school_cancelled','on') %}
|
||||
"I hope you are enjoying your free day off from school, Colin. "
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user