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, yourself', 'My sensors are detecting a strange smell. I am running diagnostics. But in the mean time, you should start a bath.', - 'I hate to say it but, it is time to get cleaned up.', - 'Did you ever hear the one about the kid who never took a bath? Yeah, me either. So we should keep it that way. Bath time now, sir.', - 'The count down clock has started. Time to get cleaned up, and get your pajamas on.' + 'I hate to say it but, the day is coming to an end. Time to finish up your tasks, pick up any toys you have out, and get ready for bed.', + 'We have reached that time in every day when we must switch gears and start preparing for bed. If you would like to have story time you better get a move on.' + 'Did you ever hear the one about the kid who never took a bath? Yeah, me either. So we should keep it that way. It is time to get ready for bed.', + 'The count down clock until bedtime has started. Time to get cleaned up, get your pajamas on, and pick the story you will read tonight.' ] | random }} {% if is_state('sensor.school_tomorrow', 'on') %} {{ [ 'Because you have school tomorrow. ', @@ -77,9 +78,10 @@ {% else %} Oh, and it appears you do not have school tomorrow {% endif %} - {{ [ 'so you can sleep in late tomorrow. ', - ' so there is not a reason to get up early tomorrow. ', - 'so we can sleep in tomorrow. ' + {{ [ 'so you can sleep in late. ', + 'so let us sleep a little later. ', + ' so there is not a reason to get up early. ', + 'so we can sleep in. ' ] | random }} {% endif %} {% if states.sensor.school_start_days2go.state | int < 10 and states.sensor.school_start_days2go.state | int > 1 -%} @@ -108,9 +110,10 @@ {% elif states.sensor.school_end_days2go.state | int == 0 -%} Tomorrow is the first day of summer. Are you ready? {%- endif %} - {{ [ 'I have configured Skylers room for sleep prep. ', - 'The lighting in Skylers room has been adjusted in preparation for bed.', - 'I have executed the Pre bed routine for Skylers room.' + {{ [ 'I have prepared your room as you like it. ', + 'I have adjusted the lighting in your room.', + 'I have turned on your bedroom lights, and adjusted the ligting under your bed.', + 'I have executed the Pre bed routine for your room.' ] | random }}

{%- endmacro -%}