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

This commit is contained in:
peteS-UK 2025-07-19 15:33:34 +01:00 committed by GitHub
parent 31167f5da7
commit 7202203f35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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