Skip to content
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

Open
Nuroduas opened this issue Apr 19, 2024 · 2 comments
Open

Notification TTS Speak error #927

Nuroduas opened this issue Apr 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Nuroduas
Copy link

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

@Nuroduas Nuroduas added the bug Something isn't working label Apr 19, 2024
@shettich
Copy link

shettich commented May 4, 2024

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.

@TheRealFalseReality
Copy link

Same error here, want to use tts.speak service but will not work due to the same bug mentioned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants