mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +00:00
Add rain state binary sensor to ecowitt (#140463)
This commit is contained in:
parent
e78dc486f7
commit
db9a805ff0
@ -26,6 +26,9 @@ ECOWITT_BINARYSENSORS_MAPPING: Final = {
|
|||||||
device_class=BinarySensorDeviceClass.BATTERY,
|
device_class=BinarySensorDeviceClass.BATTERY,
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
|
EcoWittSensorTypes.RAIN_STATE: BinarySensorEntityDescription(
|
||||||
|
key="RAIN_STATE", device_class=BinarySensorDeviceClass.MOISTURE
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user