I have a lot of automations and one day. Half my automations just no longer work anymore and I am unsure why. I have not updated home assistant and some of my automations I never touched. Though some it does go in other automations.
Home Assistant version: 0.74.2
I do get the following error in my logbook
Error executing service <ServiceCall tts.google_say: message=The weather forecast for today is Partly cloudy starting tomorrow morning. with a high of 86 and a low of 71. Your next event is H-E-B go launch., entity_id=['media_player.living_room_speaker']>
3:55 PM deps/lib/python3.6/site-packages/gtts_token/gtts_token.py (ERROR)
Here is one of them
- alias: "Good morning Christoph"
trigger:
platform: state
entity_id: media_player.living_room_roku
from: 'idle'
condition:
condition: and
conditions:
- condition: time
after: '06:00:00'
before: '12:00:00'
- condition: template
value_template: '{{ as_timestamp(now()) - as_timestamp(states.automation.good_morning_christoph.attributes.last_triggered) | int > 21600 }}'
action:
- service: tts.google_say
entity_id: media_player.living_room_speaker
data_template:
message: >
' {{ ["Morning Christoph", "Well look who's up", "Good morning Christoph", "Mornin', good-lookin'!", "Top o' the mornin’ to ya Christoph", "Ready to start your day Christoph"] | random }}'
- delay: '00:00:03'
- service: tts.google_say
entity_id: media_player.living_room_speaker
data_template:
message: >
The weather forecast for today is {{states ('sensor.dark_sky_hourly_summary') }} with a high of {{states.sensor.dark_sky_daytime_high_temperature.state|round}} and a low of {{states.sensor.dark_sky_overnight_low_temperature.state|round}}.
{% if now().strftime("%H")|int < 9 %}
Your travel time to work is {{states ('sensor.waze_travel_time') }} minutes via {{states ('sensor.waze_route') }}.
{% elif now().strftime("%H")|int < 12 %}
{{states ('sensor.calenclean') }}
{% endif %}
Your next event is {{ states.calendar.christoph_roesch.attributes.message }}.
{% if now().strftime("%d")=='1' %}
and emember to say Rabbit Rabbit
{% endif %}
{% if now().isoweekday()==2 %}
Also today is T-Mobile Tuesday. So claim those rewards.
{% endif %}
- delay: '00:00:50'
- service: media_player.volume_set
data_template:
entity_id: media_player.living_room_speaker
volume_level: 0.60
df