Add configuration entities to Tuya Vacuum (sd) (#59936)
This commit is contained in:
parent
4c3163196e
commit
4555f52e50
3 changed files with 29 additions and 0 deletions
|
@ -290,6 +290,22 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
|||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
),
|
||||
),
|
||||
# Robot Vacuum
|
||||
# https://developer.tuya.com/en/docs/iot/fsd?id=K9gf487ck1tlo
|
||||
"sd": (
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.SWITCH_DISTURB,
|
||||
name="Do Not Disturb",
|
||||
icon="mdi:minus-circle",
|
||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
),
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.VOICE_SWITCH,
|
||||
name="Voice",
|
||||
icon="mdi:account-voice",
|
||||
entity_category=ENTITY_CATEGORY_CONFIG,
|
||||
),
|
||||
),
|
||||
# Siren Alarm
|
||||
# https://developer.tuya.com/en/docs/iot/categorysgbj?id=Kaiuz37tlpbnu
|
||||
"sgbj": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue