mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add switches to Tuya dehumidifier: anion, filter_reset, and child_lock (#105200)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
5cdd650023
commit
56d5e41b28
@ -49,6 +49,28 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
||||
translation_key="water",
|
||||
),
|
||||
),
|
||||
# Dehumidifier
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48r6jke8e
|
||||
"cs": (
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.ANION,
|
||||
translation_key="ionizer",
|
||||
icon="mdi:atom",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.CHILD_LOCK,
|
||||
translation_key="child_lock",
|
||||
icon="mdi:account-lock",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.FILTER_RESET,
|
||||
translation_key="filter_reset",
|
||||
icon="mdi:filter",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
),
|
||||
# Smart Pet Feeder
|
||||
# https://developer.tuya.com/en/docs/iot/categorycwwsq?id=Kaiuz2b6vydld
|
||||
"cwwsq": (
|
||||
|
Loading…
x
Reference in New Issue
Block a user