Support Tuya Air Conditioner Mate (WiFi) - Smart IR socket with power monitoring (#95027)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
34e30570c1
commit
effa90272d
2 changed files with 32 additions and 0 deletions
|
@ -986,6 +986,7 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
|||
),
|
||||
),
|
||||
# eMylo Smart WiFi IR Remote
|
||||
# Air Conditioner Mate (Smart IR Socket)
|
||||
"wnykq": (
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.VA_TEMPERATURE,
|
||||
|
@ -999,6 +1000,30 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
|||
device_class=SensorDeviceClass.HUMIDITY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.CUR_CURRENT,
|
||||
translation_key="current",
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.CUR_POWER,
|
||||
translation_key="power",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.CUR_VOLTAGE,
|
||||
translation_key="voltage",
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
),
|
||||
# Dehumidifier
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48r6jke8e
|
||||
|
|
|
@ -573,6 +573,13 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
|||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
),
|
||||
# Air Conditioner Mate (Smart IR Socket)
|
||||
"wnykq": (
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.SWITCH,
|
||||
name=None,
|
||||
),
|
||||
),
|
||||
# SIREN: Siren (switch) with Temperature and humidity sensor
|
||||
# https://developer.tuya.com/en/docs/iot/f?id=Kavck4sr3o5ek
|
||||
"wsdcg": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue