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

@ -71,6 +71,16 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
),
TAMPER_BINARY_SENSOR,
),
# Smart Pet Feeder
# https://developer.tuya.com/en/docs/iot/categorycwwsq?id=Kaiuz2b6vydld
"cwwsq": (
TuyaBinarySensorEntityDescription(
key=DPCode.FEED_STATE,
name="Feeding",
icon="mdi:information",
on_value="feeding",
),
),
# Human Presence Sensor
# https://developer.tuya.com/en/docs/iot/categoryhps?id=Kaiuz42yhn1hs
"hps": (