From 0c6a6c360b03c37a0d6aee0190aa9cc66a321af3 Mon Sep 17 00:00:00 2001 From: Warwick Davison <34164294+Waz-Cpt@users.noreply.github.com> Date: Tue, 22 Mar 2022 19:24:57 +0200 Subject: [PATCH] Fix tuya light 2 channel dimmer module (#68109) Co-authored-by: Franck Nijhof --- homeassistant/components/tuya/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 4c35c850c33..c4f874d0687 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -111,7 +111,7 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = { # Not documented # Based on multiple reports: manufacturer customized Dimmer 2 switches TuyaLightEntityDescription( - key=DPCode.SWITCH_LED_1, + key=DPCode.SWITCH_1, name="Light", brightness=DPCode.BRIGHT_VALUE_1, ),