-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification TTS Speak error #927
Comments
Same issue here. Also, media_player_entity_id is a list, so ideally you should accept several devices. And, the selector seems to only list cast devices? It should allow any media player that allows tts.speak, right? For example, a non-cast Sonos device. |
Same error here, want to use tts.speak service but will not work due to the same bug mentioned |
I added a field for setting the media_player entity when tts.speak service is selected. |
Alarmo Version
v1.10.0
HA Version
2024.4.3
Bug description
Using the UI for Alarmo in HA I am trying to create a Notification to announce when the alarm is armed/disarmed. When selecting tts.speak then selecting the entity I get the following YAML
data:
message: The alarm is set to {{arm_mode}}
entity_id: media_player.office_home
service: tts.speak
When clicking Try It or Save I get an error "required key not provided @ data['media_player_entity_id']"
Steps to reproduce
I was able to find a syntax that is working using the developer tools. It looks like the UI needs an option with TTS Speak to specify the media_player_entity_id after selecting the tss.google_en_com entity
data:
message: The alarm is set to {{arm_mode}}
entity_id: tts.google_en_com
media_player_entity_id: media_player.office_home
service: tts.speak
Relevant log output
No response
The text was updated successfully, but these errors were encountered: