Add sensor for Ecowitt raw soil moisture value (#109849)

This commit is contained in:
dcmeglio 2024-02-07 04:47:40 -05:00 committed by GitHub
parent 059c251194
commit 1a037da9f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,