Add Hitachi Heat Pumps outdoor temperature sensors (#103806)

Add  OVP and HLRRWIFI outdoor temperature sensors
This commit is contained in:
dotvav
2023-11-12 19:50:18 +01:00
committed by GitHub
parent 9ab1cb83d8
commit 3a531f5698

View File

@@ -413,6 +413,22 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
options=["open", "tilt", "closed"],
translation_key="three_way_handle_direction",
),
# Hitachi air to air heatpump outdoor temperature sensors (HLRRWIFI protocol)
OverkizSensorDescription(
key=OverkizState.HLRRWIFI_OUTDOOR_TEMPERATURE,
name="Outdoor temperature",
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
),
# Hitachi air to air heatpump outdoor temperature sensors (OVP protocol)
OverkizSensorDescription(
key=OverkizState.OVP_OUTDOOR_TEMPERATURE,
name="Outdoor temperature",
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
),
]
SUPPORTED_STATES = {description.key: description for description in SENSOR_DESCRIPTIONS}