georgezhao2010/apple_airplayer

No TTS call if one entity is not available in a media player group

Gloomyeye opened this issue · 1 comments

Hello,

I created a media player group (https://www.home-assistant.io/integrations/media_player.group/) with two homepods. However, if one homepod is not available (for example unplugged), no TTS call can be played with the group as a service entity target and only an exception will be raised. I expect that at least the available homepod will play the TTS call.

The following exception occurs:


Logger: custom_components.apple_airplayer.device_manager
Source: custom_components/apple_airplayer/device_manager.py:127
Integration: Apple AirPlayer (documentation, issues)
First occurred: 11:14:54 (4 occurrences)
Last logged: 11:15:33

Exception raised in async_stream_file, [Errno 113] Connect call failed ('192.168.178.54', 7000)


  • platform: group
    unique_id: glo_media_homepod_all
    name: "All Homepod Minis"
    entities:
    • media_player.media_homepod_01
    • media_player.media_homepod_02

It doesn't show up with a newer version of pyatv.