From a0b185d06d15ad4e1536785a9f90f6e100da0093 Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Wed, 21 Feb 2024 13:45:32 -0500 Subject: [PATCH] Fixes UniFi Protect light state check (#111058) --- homeassistant/components/unifiprotect/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/unifiprotect/light.py b/homeassistant/components/unifiprotect/light.py index 27b7157bf2b..e068172037a 100644 --- a/homeassistant/components/unifiprotect/light.py +++ b/homeassistant/components/unifiprotect/light.py @@ -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: