Closed Zwo12 closed 1 week ago
Your code is working for me. aybe your companion app needs to refresh the UI? After app asked to refresh, everything was working fine.
Thanks for checking, @ZTHawk!
After one of the recent updates (companion app to 2024.9.4 (2024.905) and/or HA to 2024.10.1) it is working now. I had to get rid of the title entry under the data field though:
type: custom:notify-card
label: Nachricht Sonos Bad
card_title: ''
action: tts.google_translate_say
data:
message: $MSG
entity_id: media_player.sonos_bad
target: tts.google_translate_say
Hi there,
I don't know exactly when but eventually the notifcation card stopped working for me in terms of playing TTS on my media players. Currently I am using the latest version of HA (2024.9.1), HACS (2.0.1) and this lovelace card.
So I started tweaking around and finally got it working in the browser (Firefox), sending TTS messages either via the button or hitting. Nevertheless using the companion app (2024.8.1, 2024.791) on my iPhone I keep getting the error message "_The action tts/google_translate_say could not be executed. Required key not provided @ data['entityid']" whenever I try to send a message.
Any idea?
The YAML code looks as follows:
I am thankful for any hint...