Add Tuya DPCode for fsd (#82792)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
yeahme49 2022-11-30 01:11:04 -06:00 committed by GitHub
parent a28214caec
commit fb57785ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,10 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = {
color_temp=DPCode.TEMP_VALUE,
color_data=DPCode.COLOUR_DATA,
),
# Some ceiling fan lights use LIGHT for DPCode instead of SWITCH_LED
TuyaLightEntityDescription(
key=DPCode.LIGHT,
),
),
# Ambient Light
# https://developer.tuya.com/en/docs/iot/ambient-light?id=Kaiuz06amhe6g