mirror of
https://github.com/home-assistant/core.git
synced 2026-04-20 15:55:14 +00:00
Add VPD - Vapour Pressure Deficit support to Ecowitt (#141727)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
@@ -213,6 +213,12 @@ ECOWITT_SENSORS_MAPPING: Final = {
|
||||
native_unit_of_measurement=UnitOfPressure.INHG,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
EcoWittSensorTypes.VPD_INHG: SensorEntityDescription(
|
||||
key="VPD_INHG",
|
||||
device_class=SensorDeviceClass.PRESSURE,
|
||||
native_unit_of_measurement=UnitOfPressure.INHG,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
EcoWittSensorTypes.PERCENTAGE: SensorEntityDescription(
|
||||
key="PERCENTAGE",
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
|
||||
Reference in New Issue
Block a user