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

When calling TTS in a group, devices go one after another instead of all at once #551

Closed
rdariolemes opened this issue Feb 3, 2020 · 3 comments · Fixed by #564
Closed
Labels
amazonissue Issue needs to have a change made by Amazon

Comments

@rdariolemes
Copy link

Describe the bug
When using notify.alexa_media in a group of media players, notification fires in one device at the time following the next device in a group instead of all at once. See configuration below

To Reproduce
Steps to reproduce the behavior:

  1. Create Automation using notify.alexa_media type TTS
  2. Fire automation
  3. Detect TTS in 1st device on the list, then 2nd and so on instead of all at once/

Able to reproduce behavior with HA automations and node red also

Expected behavior
TTS to fire in all devices at once instead of one at the time.

System details

  • Home-assistant (version): 195
  • Hassio (Yes/No): Yes. Restarted several times already
  • alexa_media (version from const.py or HA startup): v2.5.4
  • alexapy (version from pip show alexapy or HA startup):

Logs
No error logs.

Additional context
Automation Config:
`- id: '1580684509429'
alias: Kitchen_Door_Open_Announcement
description: ''
trigger:

  • entity_id: binary_sensor.kitchen_door_sensor
    platform: state
    to: 'on'
    condition: []
    action:
  • data:
    data:
    type: tts
    message: Kitchen door open
    target: group.all_alexa
    service: notify.alexa_mediaGroups:all_alexa:
    name: all_Alexa
    entities:
    • media_player.ac_speaker
    • media_player.dinning_room_speaker
    • media_player.kitchen
    • media_player.stairs`
@alandtse alandtse added the amazonissue Issue needs to have a change made by Amazon label Feb 18, 2020
@alandtse
Copy link
Owner

That's an Amazon issue. It doesn't allow for specifying more than one target for simon_says so they have to be processed in sequence.

@alandtse
Copy link
Owner

Actually, may have a hack to work around it.

@alandtse alandtse reopened this Feb 18, 2020
alandtse added a commit that referenced this issue Feb 18, 2020
fix: allow tts requests to be sent in parallel
@rdariolemes
Copy link
Author

Thanks u for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazonissue Issue needs to have a change made by Amazon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants