diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 345156de7d7..ea89d91113b 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -282,12 +282,14 @@ class HueLight(CoordinatorEntity, LightEntity): self.is_osram = False self.is_philips = False self.is_innr = False + self.is_livarno = False self.gamut_typ = GAMUT_TYPE_UNAVAILABLE self.gamut = None else: self.is_osram = light.manufacturername == "OSRAM" self.is_philips = light.manufacturername == "Philips" self.is_innr = light.manufacturername == "innr" + self.is_livarno = light.manufacturername.startswith("_TZ3000_") self.gamut_typ = self.light.colorgamuttype self.gamut = self.light.colorgamut _LOGGER.debug("Color gamut of %s: %s", self.name, str(self.gamut)) @@ -383,6 +385,8 @@ class HueLight(CoordinatorEntity, LightEntity): """Return the warmest color_temp that this light supports.""" if self.is_group: return super().max_mireds + if self.is_livarno: + return 500 max_mireds = self.light.controlcapabilities.get("ct", {}).get("max") @@ -493,7 +497,7 @@ class HueLight(CoordinatorEntity, LightEntity): elif flash == FLASH_SHORT: command["alert"] = "select" del command["on"] - elif not self.is_innr: + elif not self.is_innr and not self.is_livarno: command["alert"] = "none" if ATTR_EFFECT in kwargs: @@ -532,7 +536,7 @@ class HueLight(CoordinatorEntity, LightEntity): elif flash == FLASH_SHORT: command["alert"] = "select" del command["on"] - elif not self.is_innr: + elif not self.is_innr and not self.is_livarno: command["alert"] = "none" if self.is_group: