Fix steam level

This commit is contained in:
Andre Basche 2023-07-10 00:20:35 +02:00
parent 2e056aa8d6
commit bb700dd2f7
4 changed files with 17 additions and 23 deletions

View file

@ -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",