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",
|
||||
|
|
|
@ -290,6 +290,7 @@ NAMES = {
|
|||
"ref_zones": "IH.COMMON.COIL",
|
||||
"diffuser": "AP.TITLES.DIFFUSER",
|
||||
"mode": "CUBE90_GLOBAL.GENERAL.MODE",
|
||||
"steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL",
|
||||
},
|
||||
"sensor": {
|
||||
"dry_levels": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_LEVEL",
|
||||
|
@ -302,7 +303,7 @@ NAMES = {
|
|||
"duration": "WASHING_CMD&CTRL.DRAWER_PROGRAM_FILTERS.DURATION",
|
||||
"target_temperature": "IH.COOKING_DETAIL.TEMPERATURE_TARGETING",
|
||||
"spin_speed": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.SPINSPEED",
|
||||
"steam_leve": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL",
|
||||
"steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL",
|
||||
"dirt_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.DIRTY_LEVEL",
|
||||
"program_phases_wm": "WASHING_CMD&CTRL.STATISTICS_GRAPHIC_INSTANT_CONSUMPTION.PHASE",
|
||||
"program_phases_td": "WASHING_CMD&CTRL.STATISTICS_GRAPHIC_INSTANT_CONSUMPTION.PHASE",
|
||||
|
|
Loading…
Reference in a new issue