mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Add support for qjdcz to Tuya (#65985)
This commit is contained in:
parent
03ade194ab
commit
1ae809293f
@ -181,6 +181,17 @@ LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = {
|
||||
color_data=DPCode.COLOUR_DATA,
|
||||
),
|
||||
),
|
||||
# Unknown product with light capabilities
|
||||
# Fond in some diffusers, plugs and PIR flood lights
|
||||
# Not documented
|
||||
"qjdcz": (
|
||||
TuyaLightEntityDescription(
|
||||
key=DPCode.SWITCH_LED,
|
||||
color_mode=DPCode.WORK_MODE,
|
||||
brightness=DPCode.BRIGHT_VALUE,
|
||||
color_data=DPCode.COLOUR_DATA,
|
||||
),
|
||||
),
|
||||
# Heater
|
||||
# https://developer.tuya.com/en/docs/iot/categoryqn?id=Kaiuz18kih0sm
|
||||
"qn": (
|
||||
|
@ -290,6 +290,15 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
||||
device_class=SwitchDeviceClass.OUTLET,
|
||||
),
|
||||
),
|
||||
# Unknown product with switch capabilities
|
||||
# Fond in some diffusers, plugs and PIR flood lights
|
||||
# Not documented
|
||||
"qjdcz": (
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.SWITCH_1,
|
||||
name="Switch",
|
||||
),
|
||||
),
|
||||
# Heater
|
||||
# https://developer.tuya.com/en/docs/iot/categoryqn?id=Kaiuz18kih0sm
|
||||
"qn": (
|
||||
|
Loading…
x
Reference in New Issue
Block a user