From d49b821565390819e16859f9fb9e51b7e51d8245 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 26 Jan 2022 11:20:31 +0100 Subject: [PATCH] Set entity category on Tuya backlights (#64962) --- homeassistant/components/tuya/light.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 8c5e084efe2..0e7aee4655e 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -72,6 +72,7 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { TuyaLightEntityDescription( key=DPCode.SWITCH_BACKLIGHT, name="Backlight", + entity_category=EntityCategory.CONFIG, ), ), # String Lights @@ -157,6 +158,7 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { TuyaLightEntityDescription( key=DPCode.SWITCH_BACKLIGHT, name="Backlight", + entity_category=EntityCategory.CONFIG, ), ), # Air conditioner @@ -165,6 +167,7 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { TuyaLightEntityDescription( key=DPCode.LIGHT, name="Backlight", + entity_category=EntityCategory.CONFIG, ), ), # Heater