mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix sonos blocking I/O in the event loop (#88554)
This commit is contained in:
parent
7929e76ebb
commit
905a0f2eb6
@ -392,7 +392,7 @@ class SonosDiscoveryManager:
|
||||
)
|
||||
elif not known_speaker.available:
|
||||
try:
|
||||
known_speaker.ping()
|
||||
await self.hass.async_add_executor_job(known_speaker.ping)
|
||||
except SonosUpdateError:
|
||||
_LOGGER.debug(
|
||||
"Manual poll to %s failed, keeping unavailable", ip_addr
|
||||
|
Loading…
x
Reference in New Issue
Block a user