Add support for Pet Feeder (cwwsq) in Tuya (#61359)

This commit is contained in:
vauriga 2022-01-04 16:00:48 +01:00 committed by GitHub
parent 39b26e5ff7
commit 0a00c77ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 0 deletions

View file

@ -38,6 +38,16 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
entity_category=EntityCategory.CONFIG,
),
),
# Smart Pet Feeder
# https://developer.tuya.com/en/docs/iot/categorycwwsq?id=Kaiuz2b6vydld
"cwwsq": (
SwitchEntityDescription(
key=DPCode.SLOW_FEED,
name="Slow Feed",
icon="mdi:speedometer-slow",
entity_category=EntityCategory.CONFIG,
),
),
# Pet Water Feeder
# https://developer.tuya.com/en/docs/iot/f?id=K9gf46aewxem5
"cwysj": (