Update bool test in coordinator platform for Squeezebox (#149073)

This commit is contained in:
peteS-UK
2025-07-19 16:33:34 +02:00
committed by GitHub
parent 31167f5da7
commit 7202203f35
@@ -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