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
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue