From 1a037da9f5fda9f67472c05c42a7077434303803 Mon Sep 17 00:00:00 2001 From: dcmeglio <21957250+dcmeglio@users.noreply.github.com> Date: Wed, 7 Feb 2024 04:47:40 -0500 Subject: [PATCH] Add sensor for Ecowitt raw soil moisture value (#109849) --- 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 6d048cc423d..4bcdd2461cd 100644 --- a/homeassistant/components/ecowitt/sensor.py +++ b/homeassistant/components/ecowitt/sensor.py @@ -176,6 +176,12 @@ ECOWITT_SENSORS_MAPPING: Final = { native_unit_of_measurement=UnitOfLength.MILES, state_class=SensorStateClass.MEASUREMENT, ), + EcoWittSensorTypes.SOIL_RAWADC: SensorEntityDescription( + key="SOIL_RAWADC", + entity_registry_enabled_default=False, + state_class=SensorStateClass.MEASUREMENT, + entity_category=EntityCategory.DIAGNOSTIC, + ), EcoWittSensorTypes.SPEED_KPH: SensorEntityDescription( key="SPEED_KPH", device_class=SensorDeviceClass.WIND_SPEED,