georgezhao2010 / apple_airplayer

Make your AirPlay devices as TTS speakers
MIT License
130 stars 17 forks source link

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

Closed Gloomyeye closed 2 years ago

Gloomyeye commented 3 years ago

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)


Gloomyeye commented 2 years ago

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