mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add backlight controls for Tuya curtain switches (#64961)
This commit is contained in:
parent
18ea43b927
commit
92ca76a167
@ -66,6 +66,14 @@ class TuyaLightEntityDescription(LightEntityDescription):
|
||||
|
||||
|
||||
LIGHTS: dict[str, tuple[TuyaLightEntityDescription, ...]] = {
|
||||
# Curtain Switch
|
||||
# https://developer.tuya.com/en/docs/iot/category-clkg?id=Kaiuz0gitil39
|
||||
"clkg": (
|
||||
TuyaLightEntityDescription(
|
||||
key=DPCode.SWITCH_BACKLIGHT,
|
||||
name="Backlight",
|
||||
),
|
||||
),
|
||||
# String Lights
|
||||
# https://developer.tuya.com/en/docs/iot/dc?id=Kaof7taxmvadu
|
||||
"dc": (
|
||||
|
Loading…
x
Reference in New Issue
Block a user