Add rain state binary sensor to ecowitt (#140463)

This commit is contained in:
Jan-Philipp Benecke 2025-03-13 00:32:55 +01:00 committed by GitHub
parent e78dc486f7
commit db9a805ff0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,9 @@ ECOWITT_BINARYSENSORS_MAPPING: Final = {
device_class=BinarySensorDeviceClass.BATTERY,
entity_category=EntityCategory.DIAGNOSTIC,
),
EcoWittSensorTypes.RAIN_STATE: BinarySensorEntityDescription(
key="RAIN_STATE", device_class=BinarySensorDeviceClass.MOISTURE
),
}