mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-23 03:06:51 -04:00
Fix steam level
This commit is contained in:
parent
2e056aa8d6
commit
bb700dd2f7
4 changed files with 17 additions and 23 deletions
|
@ -48,12 +48,6 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
|
|||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
||||
translation_key="wash_time",
|
||||
),
|
||||
HonConfigNumberEntityDescription(
|
||||
key="startProgram.steamLevel",
|
||||
name="Steam Level",
|
||||
icon="mdi:weather-dust",
|
||||
translation_key="steam_level",
|
||||
),
|
||||
HonConfigNumberEntityDescription(
|
||||
key="startProgram.waterHard",
|
||||
name="Water hard",
|
||||
|
|
|
@ -49,6 +49,13 @@ SELECTS = {
|
|||
name="Program",
|
||||
translation_key="programs_wm",
|
||||
),
|
||||
HonConfigSelectEntityDescription(
|
||||
key="startProgram.steamLevel",
|
||||
name="Steam level",
|
||||
icon="mdi:weather-dust",
|
||||
translation_key="steam_level",
|
||||
option_list=const.STEAM_LEVEL,
|
||||
),
|
||||
),
|
||||
"TD": (
|
||||
HonConfigSelectEntityDescription(
|
||||
|
|
|
@ -186,6 +186,14 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
device_class=SensorDeviceClass.ENUM,
|
||||
translation_key="programs_wm",
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="steamLevel",
|
||||
name="Steam level",
|
||||
icon="mdi:weather-dust",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
translation_key="steam_level",
|
||||
option_list=const.STEAM_LEVEL,
|
||||
),
|
||||
),
|
||||
"TD": (
|
||||
HonSensorEntityDescription(
|
||||
|
@ -259,22 +267,6 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
state_class=SensorStateClass.MEASUREMENT,
|
||||
translation_key="energy_label",
|
||||
),
|
||||
HonConfigSensorEntityDescription(
|
||||
key="startProgram.steamLevel",
|
||||
name="Steam level",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
icon="mdi:smoke",
|
||||
translation_key="steam_level",
|
||||
option_list=const.STEAM_LEVEL,
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="steamLevel",
|
||||
name="Steam level",
|
||||
icon="mdi:smoke",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
translation_key="steam_level",
|
||||
option_list=const.STEAM_LEVEL,
|
||||
),
|
||||
HonConfigSensorEntityDescription(
|
||||
key="steamType",
|
||||
name="Steam Type",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue