Bump pyunifiprotect to v4.22.5 (#106781)

This commit is contained in:
Christopher Bailey 2023-12-31 14:26:21 -05:00 committed by GitHub
parent 80f8102b83
commit ce54a1259a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 77 additions and 3 deletions

View file

@ -643,4 +643,15 @@ class ProtectEventBinarySensor(EventEntityMixin, BinarySensorEntity):
or self._attr_extra_state_attributes != previous_extra_state_attributes
or self._attr_available != previous_available
):
_LOGGER.debug(
"Updating state [%s (%s)] %s (%s, %s) -> %s (%s, %s)",
device.name,
device.mac,
previous_is_on,
previous_available,
previous_extra_state_attributes,
self._attr_is_on,
self._attr_available,
self._attr_extra_state_attributes,
)
self.async_write_ha_state()