Fixes UniFi Protect light state check (#111058)

pull/111133/head
Christopher Bailey 2024-02-21 13:45:32 -05:00 committed by Franck Nijhof
parent 4f5c808b40
commit 68450bb594
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,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: