Add some sensors and controls to tuya dehumidifier (#85380)

fixes undefined
This commit is contained in:
Andre Basche 2023-01-16 22:58:01 +01:00 committed by GitHub
parent 851eef1144
commit abc8b891be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 0 deletions

View file

@ -342,6 +342,23 @@ SELECTS: dict[str, tuple[SelectEntityDescription, ...]] = {
translation_key="countdown",
),
),
# Dehumidifier
# https://developer.tuya.com/en/docs/iot/categorycs?id=Kaiuz1vcz4dha
"cs": (
SelectEntityDescription(
key=DPCode.COUNTDOWN_SET,
name="Countdown",
entity_category=EntityCategory.CONFIG,
icon="mdi:timer-cog-outline",
translation_key="countdown",
),
SelectEntityDescription(
key=DPCode.DEHUMIDITY_SET_ENUM,
name="Target humidity",
entity_category=EntityCategory.CONFIG,
icon="mdi:water-percent",
),
),
}
# Socket (duplicate of `kg`)