diff --git a/config/templates/speech/morning_wakeup_report.yaml b/config/templates/speech/morning_wakeup_report.yaml index 57a3f4b..3cb9957 100755 --- a/config/templates/speech/morning_wakeup_report.yaml +++ b/config/templates/speech/morning_wakeup_report.yaml @@ -25,14 +25,7 @@ {% endif %} - {{ [ - 'Today is ', - 'If you have not been keeping track today is ', - 'Do you know what day of the week it is? Today is', - 'I hate to be the bearer of bad news, but today is ', - 'Oh look, once again it is ' - ]|random }} - {{states.sensor.today_is.state }}. + Today is {{states.sensor.today_is.state }}.
It is currently {{states.weather.home.state}} and {{states.sensor.acurite_6045m_3078_t.state|round}} degrees in Grayson. @@ -46,12 +39,12 @@ It is going to be chilly today. so I suggest wearing at least long pants. {% elif is_state('sensor.clothing_forecast', 'Nice') %} It is going to be - {{ [ 'nice outside', - 'pretty nice outside ', - 'a good day to be outside ', - 'rather enjoyable outside ', + {{ [ 'nice outside. ', + 'pretty nice outside. ', + 'a good day to be outside. ', + 'rather enjoyable outside. ', ] | random }} - today. So I suggest wearing shorts. + So I suggest wearing shorts. {% elif is_state('sensor.clothing_forecast', 'Toasty') %} It is going to be {{ [ 'bit warm ', @@ -76,37 +69,23 @@
{% if states.calendar.skylar_school.attributes.offset_reached == True and is_state('calendar.school_holiday', 'off') %} - {{ [ 'Skylar has school today.', - 'Skylar needs to head to school in about forty minutes. ', - 'Skylar should go to school today. ' + {{ [ 'Today is a school day.', + 'Skylar has school today. ' ] | random }} {% if states.calendar.skylar_school.attributes.description == 'digital-learning' %} - And today is a digital learning day so the commute will be short. + But it is a digital learning day so the commute will be short. {% endif %} {% if states.calendar.skylar_school.attributes.description == 'early-release' %} - But It is early release! + And It is early release! {% endif %} {% endif %}
{% if states.calendar.skylar_school.attributes.offset_reached == True and is_state('calendar.school_holiday', 'off') %} - Today for Lunch at school - {% if states.calendar.skylar_school.attributes.description == 'lunch-nuggets' %} - they are having Chicken Nuggets. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-gwinnettburger' %} - they are having Gwinnetts Best Burger. - {{ [ 'Which seems like an overstatement if you ask me.', - 'But is it really?', - 'If you like this, I know where to find Texas Best Barbeque.' - ] | random }} - {% elif states.calendar.skylar_school.attributes.description == 'lunch-pizza' %} - it is Pizza. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-minipups' %} - it is Mini Corn Pups. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-hotdogs' %} - it is Mini Corn Pups. + {% if states.sensor.school_lunch.state == 'Nothing' %} + Skylar will want to take his lunch today. {% else %} - it might be a good day to take something. + Today's school lunch is {{ states.sensor.school_lunch.state }}, so he might be interested in buying his lunch. {% endif %} {% endif %}
diff --git a/config/templates/speech/skylar_morning_briefing.yaml b/config/templates/speech/skylar_morning_briefing.yaml index fd314bc..de78a63 100755 --- a/config/templates/speech/skylar_morning_briefing.yaml +++ b/config/templates/speech/skylar_morning_briefing.yaml @@ -24,30 +24,30 @@ It is going to be chilly today. so I suggest wearing at least long pants. {% elif is_state('sensor.clothing_forecast', 'Nice') %} It is going to be - {{ [ 'nice outside', - 'pretty nice outside ', - 'a good day to be outside ', - 'rather enjoyable outside ', + {{ [ 'nice outside.', + 'pretty nice outside. ', + 'a good day to be outside. ', + 'rather enjoyable outside. ', ] | random }} - today. So I suggest wearing shorts. + So I suggest wearing shorts. {% elif is_state('sensor.clothing_forecast', 'Toasty') %} It is going to be - {{ [ 'bit warm ', - ' rather warm outside ', - ' almost too hot outside ', - ' a little warm ', + {{ [ 'bit warm today. ', + ' rather warm outside. ', + ' almost too hot outside. ', + ' a little warm today. ', ] | random }} - today. So I suggest wearing shorts. + So I suggest wearing shorts. {% elif is_state('sensor.clothing_forecast', 'Hot') %} It is going to be {{ [ 'hot', - 'hotter than the sun ', - 'hotter than hot. but in a lot of bad ways ', - 'hotter than the sun outside ', - 'super hot ', - 'hotter than the inside of a volcano ' + 'hotter than the sun today. ', + 'hotter than hot. but in a lot of bad ways today. ', + 'hotter than the sun outside. ', + 'super hot today. ', + 'hotter than the inside of a volcano today. Well not exactly, but you get the point. ' ] | random }} - today. So I suggest wearing shorts. + So I suggest wearing shorts. {% else %} It is going to be {{ states.sensor.clothing_forecast.state }} today so I suggest wearing shorts. {% endif %} @@ -56,22 +56,22 @@ {% if states.calendar.skylar_school.attributes.offset_reached == True and is_state('calendar.school_holiday', 'off') %} Because you have school today! {% if states.calendar.skylar_school.attributes.description == 'digital-learning' %} - And today is a digital learning day. + But today is a digital learning day. {% endif %} {% if states.calendar.skylar_school.attributes.description == 'early-release' %} And guess what? It is early release! {% endif %} {% if states.calendar.skylar_school.attributes.description == 'start_thanksgiving_break' %} - And One More Thing. Tomorrow is the first day of Thanksgiving Break. + Oh, One More Thing. Tomorrow is the first day of Thanksgiving Break. {% endif %} {% if states.calendar.skylar_school.attributes.description == 'start_winter_break' %} - And One More Thing. Tomorrow is the first day of Winter Break. + Oh, One More Thing. Tomorrow is the first day of Winter Break. {% endif %} {% if states.calendar.skylar_school.attributes.description == 'start_spring_break' %} - And One More Thing. Tomorrow is the first day of Spring Break. + Oh, One More Thing. Tomorrow is the first day of Spring Break. {% endif %} {% if states.calendar.skylar_school.attributes.description == 'start_fall_break' %} - And One More Thing. Tomorrow is the first day of Fall Break. + Oh, One More Thing. Tomorrow is the first day of Fall Break. {% endif %} {% else %} {% if is_state('calendar.school_holiday', 'on') %} @@ -90,23 +90,10 @@{% if states.calendar.skylar_school.attributes.offset_reached == True and is_state('calendar.school_holiday', 'off') %} - Today for Lunch at school - {% if states.calendar.skylar_school.attributes.description == 'lunch-nuggets' %} - they are having Chicken Nuggets. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-gwinnettburger' %} - they are having Gwinnetts Best Burger. - {{ [ 'Which seems like an overstatement if you ask me.', - 'But is it really?', - 'If you like this, I know where to find Texas Best Barbeque.' - ] | random }} - {% elif states.calendar.skylar_school.attributes.description == 'lunch-pizza' %} - it is Pizza. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-minipups' %} - it is Mini Corn Pups. - {% elif states.calendar.skylar_school.attributes.description == 'lunch-hotdogs' %} - it is Mini Corn Pups. + {% if states.sensor.school_lunch.state == 'Nothing' %} + You are going to want to take your own lunch today. {% else %} - it might be a good day to take something. + Today's school lunch is {{ states.sensor.school_lunch.state }} {% endif %} {% endif %}
diff --git a/config/templates/speech/skylar_nightly_briefing.yaml b/config/templates/speech/skylar_nightly_briefing.yaml index 03a6943..d3a5fc9 100755 --- a/config/templates/speech/skylar_nightly_briefing.yaml +++ b/config/templates/speech/skylar_nightly_briefing.yaml @@ -55,12 +55,13 @@
Skyler,
{{ [ 'It is time to get in the bath. ',
- 'It is almost bedtime. That means you should be heading for the bathtub. Time to get clean.',
+ 'It is almost bedtime. That means it is time to start preparing for bed. if you are taking a bath tonight, you need to head that way.',
'I cannot communicate with the bathtub. Or I would have started the water for you already. So you will have to start the bath,