Add second led control for carro smart fan (#94195)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
rale
2023-07-23 16:20:29 -05:00
committed by GitHub
parent 30058297cf
commit 54d7ba72ee

View File

@@ -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,
),
),
}