Fixes UniFi Protect light state check (#111058)
This commit is contained in:
parent
7bf0fb9e48
commit
a0b185d06d
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class ProtectLight(ProtectDeviceEntity, LightEntity):
|
|||
is a change.
|
||||
"""
|
||||
|
||||
return (self._attr_available, self._attr_brightness)
|
||||
return (self._attr_available, self._attr_is_on, self._attr_brightness)
|
||||
|
||||
@callback
|
||||
def _async_update_device_from_protect(self, device: ProtectModelWithId) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue