mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-16 08:04:22 -04:00
Add first fridge sensors #41
This commit is contained in:
parent
0afbfe997d
commit
146e710881
32 changed files with 730 additions and 75 deletions
|
@ -1,17 +1,15 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
import time
|
||||
|
||||
from pyhon import Hon
|
||||
from pyhon.appliance import HonAppliance
|
||||
from pyhon.parameter.fixed import HonParameterFixed
|
||||
|
||||
from homeassistant.components.select import SelectEntity, SelectEntityDescription
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import UnitOfTemperature, UnitOfTime, REVOLUTIONS_PER_MINUTE
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.entity import EntityCategory
|
||||
from pyhon import Hon
|
||||
from pyhon.appliance import HonAppliance
|
||||
from pyhon.parameter.fixed import HonParameterFixed
|
||||
|
||||
from .const import DOMAIN
|
||||
from .hon import HonEntity, HonCoordinator, unique_entities
|
||||
|
@ -105,6 +103,14 @@ SELECTS = {
|
|||
translation_key="eco_pilot",
|
||||
),
|
||||
),
|
||||
"REF": (
|
||||
SelectEntityDescription(
|
||||
key="startProgram.program",
|
||||
name="Program",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="programs_ref",
|
||||
),
|
||||
),
|
||||
}
|
||||
|
||||
SELECTS["WD"] = unique_entities(SELECTS["WM"], SELECTS["TD"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue