mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 17:48:26 +00:00
Fixes UniFi Protect light state check (#111058)
This commit is contained in:
parent
4f5c808b40
commit
68450bb594
@ -78,7 +78,7 @@ class ProtectLight(ProtectDeviceEntity, LightEntity):
|
|||||||
is a change.
|
is a change.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return (self._attr_available, self._attr_brightness)
|
return (self._attr_available, self._attr_is_on, self._attr_brightness)
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def _async_update_device_from_protect(self, device: ProtectModelWithId) -> None:
|
def _async_update_device_from_protect(self, device: ProtectModelWithId) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user