I’m trying to rework a process from the ground up since I’m tired of endlessly parsing code to get the current configuration to work. In this case, I want to simplify the code to just to get it done and cross it off my list.
The problem is, I don’t know how to pass a yaml file to tts.google_say to speak it. The file I’m looking to have spoken is a briefing announcement with weather, drive time, AQI, door state, etc. Can I pass an !include like this?
action:
- service: tts.google_say
data:
cache: false
entity_id: media_player.nesthubmaxec28
message: !include ../templates/speech/briefing.yaml