Bump pyunifiprotect to v4.22.5 (#106781)
This commit is contained in:
parent
80f8102b83
commit
ce54a1259a
11 changed files with 77 additions and 3 deletions
|
@ -133,6 +133,17 @@ class ProtectMediaPlayer(ProtectDeviceEntity, MediaPlayerEntity):
|
|||
or self._attr_volume_level != previous_volume_level
|
||||
or self._attr_available != previous_available
|
||||
):
|
||||
_LOGGER.debug(
|
||||
"Updating state [%s (%s)] %s (%s, %s) -> %s (%s, %s)",
|
||||
device.name,
|
||||
device.mac,
|
||||
previous_state,
|
||||
previous_available,
|
||||
previous_volume_level,
|
||||
self._attr_state,
|
||||
self._attr_available,
|
||||
self._attr_volume_level,
|
||||
)
|
||||
self.async_write_ha_state()
|
||||
|
||||
async def async_set_volume_level(self, volume: float) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue