From 0828cc0e449f5ccbed7d1f5ad4411f20f751947a Mon Sep 17 00:00:00 2001 From: Michael Benz Date: Thu, 18 May 2023 05:16:54 +1000 Subject: [PATCH] Add light entity to Tuya Air Purifiers (#92861) --- homeassistant/components/tuya/light.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 959a1834f8d..44b3494ca77 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -171,6 +171,15 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { entity_category=EntityCategory.CONFIG, ), ), + # Air Purifier + # https://developer.tuya.com/en/docs/iot/f?id=K9gf46h2s6dzm + "kj": ( + TuyaLightEntityDescription( + key=DPCode.LIGHT, + name="Backlight", + entity_category=EntityCategory.CONFIG, + ), + ), # Air conditioner # https://developer.tuya.com/en/docs/iot/categorykt?id=Kaiuz0z71ov2n "kt": (