Update coordinator logging levels for Squeezebox (#144620)

This commit is contained in:
peteS-UK 2025-05-26 20:14:15 +01:00 committed by GitHub
parent 9b9d4d7dab
commit 072d0dc567
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
await self.player.async_update()
if self.player.connected is False:
_LOGGER.debug("Player %s is not available", self.name)
_LOGGER.info("Player %s is not available", self.name)
self.available = False
# start listening for restored players
@ -133,6 +133,6 @@ class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
"""Make a player available again."""
if unique_id == self.player.player_id and connected:
self.available = True
_LOGGER.debug("Player %s is available again", self.name)
_LOGGER.info("Player %s is available again", self.name)
if self._remove_dispatcher:
self._remove_dispatcher()