Add device class for moisture detection in Overkiz binary sensors (#143236)

This commit is contained in:
Mick Vleeshouwer 2025-04-18 22:11:06 +02:00 committed by GitHub
parent 2b4c5178f4
commit 5c5b832d01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,7 @@ BINARY_SENSOR_DESCRIPTIONS: list[OverkizBinarySensorDescription] = [
key=OverkizState.CORE_WATER_DETECTION,
name="Water",
icon="mdi:water",
device_class=BinarySensorDeviceClass.MOISTURE,
value_fn=lambda state: state == OverkizCommandParam.DETECTED,
),
# AirSensor/AirFlowSensor