Add Hitachi Heat Pumps outdoor temperature sensors (#103806)

Add  OVP and HLRRWIFI outdoor temperature sensors
pull/103873/head
dotvav 2023-11-12 19:50:18 +01:00 committed by GitHub
parent 9ab1cb83d8
commit 3a531f5698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

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}