Complementing the Tuya Humidifier (jsq) category (#65276)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
87049283c1
commit
52d7ca6b1c
6 changed files with 138 additions and 0 deletions
|
@ -742,6 +742,34 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
|||
icon="mdi:progress-clock",
|
||||
),
|
||||
),
|
||||
# Humidifier
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48qwjz0i3
|
||||
"jsq": (
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.HUMIDITY_CURRENT,
|
||||
name="Humidity",
|
||||
device_class=SensorDeviceClass.HUMIDITY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.TEMP_CURRENT,
|
||||
name="Temperature",
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.TEMP_CURRENT_F,
|
||||
name="Temperature",
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.LEVEL_CURRENT,
|
||||
name="Water Level",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
icon="mdi:waves-arrow-up",
|
||||
),
|
||||
),
|
||||
# Air Purifier
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48r41mn81
|
||||
"kj": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue