script:
test_f1_announce:
sequence:
- service: tts.google_say
entity_id: media_player.speakers
data_template:
message: >
De {{state_attr("calendar.2020_fia_formula_one_world_championship_race_calendar", "message")}} begint over tien minuten
cache: false
language: 'nl'
this used to work however since recently, this started to give strange result.
it seems it’s converted to html before being translated to voice , as in the spoken text I hear a lot of %20 occurring where the spaces are. Also the template doesn’t work, but I can’t quite make what it made from it.
I’ve tried the template in the template section and in there it renders perfectly.