Add switch platform to Tuya Light (dj) devices (#58196)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>pull/58313/head
parent
75e561f1fa
commit
8bfd5e4d06
|
@ -64,6 +64,17 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
|||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
),
|
||||
),
|
||||
# Light
|
||||
# https://developer.tuya.com/en/docs/iot/f?id=K9i5ql3v98hn3
|
||||
"dj": (
|
||||
# There are sockets available with an RGB light
|
||||
# that advertise as `dj`, but provide an additional
|
||||
# switch to control the plug.
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.SWITCH,
|
||||
name="Plug",
|
||||
),
|
||||
),
|
||||
# Cirquit Breaker
|
||||
"dlq": (
|
||||
SwitchEntityDescription(
|
||||
|
|
Loading…
Reference in New Issue