From 54d7ba72ee55912ba395f1588c875ea042c627d5 Mon Sep 17 00:00:00 2001 From: rale Date: Sun, 23 Jul 2023 16:20:29 -0500 Subject: [PATCH] Add second led control for carro smart fan (#94195) Co-authored-by: Franck Nijhof --- homeassistant/components/tuya/light.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 5c2663d251c..b4396f617cd 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -350,6 +350,11 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { brightness=DPCode.BRIGHT_VALUE, color_temp=DPCode.TEMP_VALUE, ), + TuyaLightEntityDescription( + key=DPCode.SWITCH_LED, + translation_key="light_2", + brightness=DPCode.BRIGHT_VALUE_1, + ), ), }