Add switch to Tuya thermostat: child_lock (#113052)

This commit is contained in:
Sebastian Schneider 2024-06-11 15:22:49 +02:00 committed by GitHub
parent 8c27214dc9
commit 6df7c34aa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -520,6 +520,15 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
entity_category=EntityCategory.CONFIG,
),
),
# Thermostat
# https://developer.tuya.com/en/docs/iot/f?id=K9gf45ld5l0t9
"wk": (
SwitchEntityDescription(
key=DPCode.CHILD_LOCK,
translation_key="child_lock",
entity_category=EntityCategory.CONFIG,
),
),
# Thermostatic Radiator Valve
# Not documented
"wkf": (