I have the following automation that reads out several temperature values using Google TTS when triggered. It has been working fine for a long time - and now suddenly today, with no changes to anything that I know of, it is reading out the format string verbatim instead of substituting the temperature values.
- id: '1569770057182'
alias: Temperature Status
trigger:
- platform: webhook
webhook_id: tempstat
condition: []
action:
- data_template:
entity_id: media_player.bedroom_4
message: At {{now().strftime("%H:%M")}}
it's {{states.sensor.ihome_smartmonitor_a26525_temperature.state|round}} degrees in the bedroom,
{{ state_attr('climate.lyric_ef38e2', 'current_temperature')|round }} degrees downstairs,
{{states.sensor.yr_temperature.state|round}} degrees outside.
service: tts.google_translate_say
I had to reboot the Ubuntu server yesterday - could something in Linux have been updated in the past month that suddenly took effect and caused this change? I also restarted HA several times, but there were definitely no updates to HA.
1 post - 1 participant