Adding HO integration (#56)

* Update button.py

* Update number.py

* Update sensor.py
This commit is contained in:
pksobon
2023-05-30 05:22:02 +02:00
committed by GitHub
parent 2fe8ace9f5
commit 57ecd7c3a5
3 changed files with 93 additions and 0 deletions

View File

@ -162,6 +162,20 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
translation_key="freezer_temp_sel",
),
),
"HO": (
HonNumberEntityDescription(
key="startProgram.windSpeed",
name="Wind speed",
icon="mdi:fan",
entity_category=EntityCategory.CONFIG,
),
HonNumberEntityDescription(
key="startProgram.lightStatus",
name="Light status",
icon="mdi:lightbulb",
entity_category=EntityCategory.CONFIG,
),
),
}
NUMBERS["WD"] = unique_entities(NUMBERS["WM"], NUMBERS["TD"])