mirror of
https://github.com/home-assistant/core.git
synced 2025-04-19 14:57:52 +00:00
Add device class and options to sensor defect for Overkiz (#143241)
This commit is contained in:
parent
a7922690c4
commit
302dbc424b
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user