mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update coordinator logging levels for Squeezebox (#144620)
This commit is contained in:
parent
9b9d4d7dab
commit
072d0dc567
@ -112,7 +112,7 @@ class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||||||
await self.player.async_update()
|
await self.player.async_update()
|
||||||
|
|
||||||
if self.player.connected is False:
|
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
|
self.available = False
|
||||||
|
|
||||||
# start listening for restored players
|
# start listening for restored players
|
||||||
@ -133,6 +133,6 @@ class SqueezeBoxPlayerUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||||||
"""Make a player available again."""
|
"""Make a player available again."""
|
||||||
if unique_id == self.player.player_id and connected:
|
if unique_id == self.player.player_id and connected:
|
||||||
self.available = True
|
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:
|
if self._remove_dispatcher:
|
||||||
self._remove_dispatcher()
|
self._remove_dispatcher()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user