mirror of
https://github.com/Andre0512/hon.git
synced 2026-06-15 03:36:27 +00:00
Adding new WM entities (#32)
This commit is contained in:
parent
e3b22bf81d
commit
4eea432015
|
|
@ -83,6 +83,28 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
|
|||
name="Acqua Plus",
|
||||
translation_key="acqua_plus",
|
||||
),
|
||||
HonBinarySensorEntityDescription(
|
||||
key="energySavingStatus",
|
||||
name="Energy Saving Mode",
|
||||
on_value=1,
|
||||
icon="mdi:leaf",
|
||||
translation_key="energy_saving",
|
||||
),
|
||||
HonBinarySensorEntityDescription(
|
||||
key="buzzerDisabled",
|
||||
name="Buzzer Disabled",
|
||||
on_value=1,
|
||||
icon="mdi:volume-off",
|
||||
translation_key="buzzer_disabled",
|
||||
),
|
||||
HonBinarySensorEntityDescription(
|
||||
key="lockStatus",
|
||||
name="Child Lock",
|
||||
device_class=BinarySensorDeviceClass.LOCK,
|
||||
on_value=0,
|
||||
icon="mdi:lock",
|
||||
translation_key="child_lock",
|
||||
),
|
||||
),
|
||||
"TD": (
|
||||
HonBinarySensorEntityDescription(
|
||||
|
|
|
|||
|
|
@ -204,6 +204,29 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
translation_key="stain_type",
|
||||
option_list=const.STAIN_TYPES,
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="remainingMainWashTime",
|
||||
name="Remaining Main Wash Time",
|
||||
icon="mdi:timer-sand",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
||||
translation_key="remaining_main_wash_time",
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="currentWashCycle",
|
||||
name="Current Wash Cycle",
|
||||
icon="mdi:counter",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
translation_key="current_wash_cycle",
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="detergentPercent",
|
||||
name="Detergent Level",
|
||||
icon="mdi:cup-water",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
translation_key="detergent_level",
|
||||
),
|
||||
),
|
||||
"TD": (
|
||||
HonSensorEntityDescription(
|
||||
|
|
|
|||
|
|
@ -78,6 +78,15 @@
|
|||
},
|
||||
"name": "Drying level"
|
||||
},
|
||||
"remaining_main_wash_time": {
|
||||
"name": "Remaining Main Wash Time"
|
||||
},
|
||||
"current_wash_cycle": {
|
||||
"name": "Current Wash Cycle"
|
||||
},
|
||||
"detergent_level": {
|
||||
"name": "Detergent Level"
|
||||
},
|
||||
"programs_ac": {
|
||||
"state": {
|
||||
"iot_10_heating": "10°C Heating function",
|
||||
|
|
@ -2068,6 +2077,12 @@
|
|||
},
|
||||
"filter_replacement": {
|
||||
"name": "Filter replacement"
|
||||
},
|
||||
"energy_saving": {
|
||||
"name": "Energy Saving Mode"
|
||||
},
|
||||
"buzzer_disabled": {
|
||||
"name": "Buzzer Disabled"
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
|
|
|
|||
|
|
@ -70,6 +70,15 @@
|
|||
},
|
||||
"name": "Nível de secagem"
|
||||
},
|
||||
"remaining_main_wash_time": {
|
||||
"name": "Tempo Restante da Lavagem Principal"
|
||||
},
|
||||
"current_wash_cycle": {
|
||||
"name": "Ciclo de Lavagem Atual"
|
||||
},
|
||||
"detergent_level": {
|
||||
"name": "Nível de Detergente"
|
||||
},
|
||||
"programs_ac": {
|
||||
"state": {
|
||||
"iot_10_heating": "Função de aquecimento de 10 °C",
|
||||
|
|
@ -2015,6 +2024,12 @@
|
|||
},
|
||||
"filter_replacement": {
|
||||
"name": "Substituição do filtro"
|
||||
},
|
||||
"energy_saving": {
|
||||
"name": "Modo Poupança de Energia"
|
||||
},
|
||||
"buzzer_disabled": {
|
||||
"name": "Buzzer Desativado"
|
||||
}
|
||||
},
|
||||
"button": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue