1
0
Fork 0
mirror of https://github.com/Andre0512/hon.git synced 2025-05-23 19:26:53 -04:00

Add oven support

This commit is contained in:
Miguel Ángel 2023-04-07 13:52:55 +02:00
parent 135d6cafed
commit 116f9d5470
5 changed files with 107 additions and 1 deletions
custom_components/hon

View file

@ -141,7 +141,35 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
icon="mdi:thermometer",
translation_key="tumbledryertemplevel"
),
),
"OV": (
SensorEntityDescription(
key="remainingTimeMM",
name="Remaining Time",
icon="mdi:timer",
native_unit_of_measurement=UnitOfTime.MINUTES,
),
SensorEntityDescription(
key="delayTime",
name="Start Time",
icon="mdi:clock-start",
native_unit_of_measurement=UnitOfTime.MINUTES,
),
SensorEntityDescription(
key="temp",
name="Temperature",
icon="mdi:thermometer",
),
SensorEntityDescription(
key="tempSel",
name="Temperature Selected",
icon="mdi:thermometer",
),
)
}