mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add Hitachi Heat Pumps outdoor temperature sensors (#103806)
Add OVP and HLRRWIFI outdoor temperature sensors
This commit is contained in:
parent
9ab1cb83d8
commit
3a531f5698
@ -413,6 +413,22 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
|
|||||||
options=["open", "tilt", "closed"],
|
options=["open", "tilt", "closed"],
|
||||||
translation_key="three_way_handle_direction",
|
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}
|
SUPPORTED_STATES = {description.key: description for description in SENSOR_DESCRIPTIONS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user