From 07d4e11c30f97afeb7b816bfbaf591cfd8be9e9b Mon Sep 17 00:00:00 2001 From: GSzabados <35445496+GSzabados@users.noreply.github.com> Date: Tue, 9 Sep 2025 17:08:23 +0200 Subject: [PATCH] Add VPD - Vapour Pressure Deficit support to Ecowitt (#141727) Co-authored-by: Erik Montnemery --- homeassistant/components/ecowitt/sensor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/ecowitt/sensor.py b/homeassistant/components/ecowitt/sensor.py index 6620f61961f..096c213b708 100644 --- a/homeassistant/components/ecowitt/sensor.py +++ b/homeassistant/components/ecowitt/sensor.py @@ -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,