mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Add device class and options to sensor defect for Overkiz (#143241)
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user