mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Add Tuya pool heating pumps (#118415)
Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
cb045a794d
commit
f8c1710753
@ -277,6 +277,14 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
|
||||
device_class=NumberDeviceClass.TEMPERATURE,
|
||||
),
|
||||
),
|
||||
# Pool HeatPump
|
||||
"znrb": (
|
||||
NumberEntityDescription(
|
||||
key=DPCode.TEMP_SET,
|
||||
translation_key="temperature",
|
||||
device_class=NumberDeviceClass.TEMPERATURE,
|
||||
),
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
@ -1132,6 +1132,15 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
||||
suggested_unit_of_measurement=UnitOfPower.WATT,
|
||||
),
|
||||
),
|
||||
# Pool HeatPump
|
||||
"znrb": (
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.TEMP_CURRENT,
|
||||
translation_key="temperature",
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
),
|
||||
}
|
||||
|
||||
# Socket (duplicate of `kg`)
|
||||
|
@ -672,6 +672,13 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = {
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
),
|
||||
# Pool HeatPump
|
||||
"znrb": (
|
||||
SwitchEntityDescription(
|
||||
key=DPCode.SWITCH,
|
||||
translation_key="switch",
|
||||
),
|
||||
),
|
||||
}
|
||||
|
||||
# Socket (duplicate of `pc`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user