Add device class and options to sensor defect for Overkiz (#143241)

This commit is contained in:
Mick Vleeshouwer 2025-04-19 06:51:33 +02:00 committed by GitHub
parent a7922690c4
commit 302dbc424b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,6 +413,8 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
native_value=lambda value: OVERKIZ_STATE_TO_TRANSLATION.get(
cast(str, value), cast(str, value)
),
device_class=SensorDeviceClass.ENUM,
options=["dead", "low_battery", "maintenance_required", "no_defect"],
),
# DomesticHotWaterProduction/WaterHeatingSystem
OverkizSensorDescription(