mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
Update bool test in coordinator platform for Squeezebox (#149073)
This commit is contained in:
@@ -111,7 +111,7 @@ class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
||||
# Only update players available at last update, unavailable players are rediscovered instead
|
||||
await self.player.async_update()
|
||||
|
||||
if self.player.connected is False:
|
||||
if not self.player.connected:
|
||||
_LOGGER.info("Player %s is not available", self.name)
|
||||
self.available = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user