From 8aa8563b9b880e19de277fbf13aaefbea2845ae6 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Wed, 26 Apr 2023 23:57:44 +0200 Subject: [PATCH] Control air conditioners --- README.md | 18 +++ custom_components/hon/climate.py | 148 +++++++++++++++++++++ custom_components/hon/const.py | 31 +++++ custom_components/hon/number.py | 12 ++ custom_components/hon/select.py | 16 +++ custom_components/hon/switch.py | 63 +++++++++ custom_components/hon/translations/cs.json | 70 ++++++++++ custom_components/hon/translations/de.json | 70 ++++++++++ custom_components/hon/translations/el.json | 70 ++++++++++ custom_components/hon/translations/en.json | 70 ++++++++++ custom_components/hon/translations/es.json | 70 ++++++++++ custom_components/hon/translations/fr.json | 70 ++++++++++ custom_components/hon/translations/he.json | 54 ++++++++ custom_components/hon/translations/hr.json | 70 ++++++++++ custom_components/hon/translations/it.json | 70 ++++++++++ custom_components/hon/translations/nl.json | 70 ++++++++++ custom_components/hon/translations/pl.json | 70 ++++++++++ custom_components/hon/translations/pt.json | 70 ++++++++++ custom_components/hon/translations/ro.json | 70 ++++++++++ custom_components/hon/translations/ru.json | 70 ++++++++++ custom_components/hon/translations/sk.json | 70 ++++++++++ custom_components/hon/translations/sl.json | 70 ++++++++++ custom_components/hon/translations/sr.json | 70 ++++++++++ custom_components/hon/translations/tr.json | 70 ++++++++++ custom_components/hon/translations/zh.json | 70 ++++++++++ scripts/generate_translation.py | 40 +++++- 26 files changed, 1641 insertions(+), 1 deletion(-) create mode 100644 custom_components/hon/climate.py diff --git a/README.md b/README.md index 3d6bc30..22a39b9 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,24 @@ I moved the api related stuff into the package [pyhOn](https://github.com/Andre0 ## Appliance Features +### Air conditioner +#### Configs +| Name | Icon | Entity | Key | +| --- | --- | --- | --- | +| 10° Heating | | `switch` | `startProgram.10degreeHeatingStatus` | +| Echo | | `switch` | `startProgram.echoStatus` | +| Eco Mode | | `switch` | `startProgram.ecoMode` | +| Eco Pilot | | `select` | `startProgram.humanSensingStatus` | +| Health Mode | | `switch` | `startProgram.healthMode` | +| Mute | | `switch` | `startProgram.muteStatus` | +| Program | | `select` | `startProgram.program` | +| Rapid Mode | | `switch` | `startProgram.rapidMode` | +| Screen Display | | `switch` | `startProgram.screenDisplayStatus` | +| Self Cleaning | | `switch` | `startProgram.selfCleaningStatus` | +| Self Cleaning 56 | | `switch` | `startProgram.selfCleaning56Status` | +| Silent Sleep | | `switch` | `startProgram.silentSleepStatus` | +| Target Temperature | `thermometer` | `number` | `startProgram.tempSel` | + ### Dish washer #### Controls | Name | Icon | Entity | Key | diff --git a/custom_components/hon/climate.py b/custom_components/hon/climate.py new file mode 100644 index 0000000..7a972d5 --- /dev/null +++ b/custom_components/hon/climate.py @@ -0,0 +1,148 @@ +import logging + +from homeassistant.components.climate import ( + ClimateEntity, + ClimateEntityDescription, +) +from homeassistant.components.climate.const import ( + FAN_OFF, + SWING_OFF, + SWING_BOTH, + SWING_VERTICAL, + SWING_HORIZONTAL, + ClimateEntityFeature, + HVACMode, +) +from homeassistant.config_entries import ConfigEntry +from homeassistant.const import ( + ATTR_TEMPERATURE, + PRECISION_WHOLE, + TEMP_CELSIUS, +) +from homeassistant.core import callback +from pyhon import Hon +from pyhon.appliance import HonAppliance + +from custom_components.hon.const import HON_HVAC_MODE, HON_FAN, HON_HVAC_PROGRAM, DOMAIN +from custom_components.hon.hon import HonEntity, HonCoordinator + +_LOGGER = logging.getLogger(__name__) + +CLIMATES = { + "AC": (ClimateEntityDescription(key="startProgram"),), +} + + +async def async_setup_entry(hass, entry: ConfigEntry, async_add_entities) -> None: + hon: Hon = hass.data[DOMAIN][entry.unique_id] + coordinators = hass.data[DOMAIN]["coordinators"] + appliances = [] + for device in hon.appliances: + if device.unique_id in coordinators: + coordinator = hass.data[DOMAIN]["coordinators"][device.unique_id] + else: + coordinator = HonCoordinator(hass, device) + hass.data[DOMAIN]["coordinators"][device.unique_id] = coordinator + await coordinator.async_config_entry_first_refresh() + + if descriptions := CLIMATES.get(device.appliance_type): + for description in descriptions: + if not device.settings.get(description.key): + continue + appliances.extend( + [HonClimateEntity(hass, coordinator, entry, device, description)] + ) + async_add_entities(appliances) + + +class HonClimateEntity(HonEntity, ClimateEntity): + def __init__( + self, hass, coordinator, entry, device: HonAppliance, description + ) -> None: + super().__init__(hass, entry, coordinator, device) + self._coordinator = coordinator + self._device = coordinator.device + self.entity_description = description + self._hass = hass + self._attr_unique_id = f"{super().unique_id}climate" + + self._attr_temperature_unit = TEMP_CELSIUS + self._attr_target_temperature_step = PRECISION_WHOLE + self._attr_max_temp = device.settings["tempSel"].max + self._attr_min_temp = device.settings["tempSel"].min + + self._attr_hvac_modes = [HVACMode.OFF] + [ + HON_HVAC_MODE[mode] for mode in device.settings["machMode"].values + ] + self._attr_fan_modes = [FAN_OFF] + [ + HON_FAN[mode] for mode in device.settings["windSpeed"].values + ] + self._attr_swing_modes = [ + SWING_OFF, + SWING_VERTICAL, + SWING_HORIZONTAL, + SWING_BOTH, + ] + self._attr_supported_features = ( + ClimateEntityFeature.TARGET_TEMPERATURE + | ClimateEntityFeature.FAN_MODE + | ClimateEntityFeature.SWING_MODE + ) + + async def async_set_hvac_mode(self, hvac_mode): + if hvac_mode == HVACMode.OFF: + self._device.commands["stopProgram"].send() + else: + self._device.settings["program"].value = HON_HVAC_PROGRAM[hvac_mode] + self._device.commands["startProgram"].send() + self._attr_hvac_mode = hvac_mode + + async def async_set_fan_mode(self, fan_mode): + mode_number = list(HON_FAN.values()).index(fan_mode) + self._device.settings["windSpeed"].value = list(HON_FAN.keys())[mode_number] + self._device.commands["startProgram"].send() + + async def async_set_swing_mode(self, swing_mode): + horizontal = self._device.settings["windDirectionHorizontal"] + vertical = self._device.settings["windDirectionVertical"] + if swing_mode in [SWING_BOTH, SWING_HORIZONTAL]: + horizontal.value = "7" + if swing_mode in [SWING_BOTH, SWING_VERTICAL]: + vertical.value = "8" + if swing_mode in [SWING_OFF, SWING_HORIZONTAL] and vertical.value == "8": + vertical.value = "5" + if swing_mode in [SWING_OFF, SWING_VERTICAL] and horizontal.value == "7": + horizontal.value = "0" + self._attr_swing_mode = swing_mode + self._device.commands["startProgram"].send() + + async def async_set_temperature(self, **kwargs): + if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None: + return False + self._device.settings["selTemp"].value = temperature + self._device.commands["startProgram"].send() + + @callback + def _handle_coordinator_update(self, update=True) -> None: + self._attr_target_temperature = int(float(self._device.get("tempSel"))) + self._attr_current_temperature = float(self._device.get("tempIndoor")) + self._attr_max_temp = self._device.settings["tempSel"].max + self._attr_min_temp = self._device.settings["tempSel"].min + + if self._device.get("onOffStatus") == "0": + self._attr_hvac_mode = HVACMode.OFF + else: + self._attr_hvac_mode = HON_HVAC_MODE[self._device.get("machMode")] + + self._attr_fan_mode = HON_FAN[self._device.settings["windSpeed"].value] + + horizontal = self._device.settings["windDirectionHorizontal"] + vertical = self._device.settings["windDirectionVertical"] + if horizontal == "7" and vertical == "8": + self._attr_swing_mode = SWING_BOTH + elif horizontal == "7": + self._attr_swing_mode = SWING_HORIZONTAL + elif vertical == "8": + self._attr_swing_mode = SWING_VERTICAL + else: + self._attr_swing_mode = SWING_OFF diff --git a/custom_components/hon/const.py b/custom_components/hon/const.py index 5dae56e..6a852a0 100644 --- a/custom_components/hon/const.py +++ b/custom_components/hon/const.py @@ -1,3 +1,7 @@ +from homeassistant.components.climate import HVACMode + +from custom_components.hon import climate + DOMAIN = "hon" PLATFORMS = [ @@ -7,4 +11,31 @@ PLATFORMS = [ "switch", "button", "binary_sensor", + "climate", ] + +HON_HVAC_MODE = { + "0": HVACMode.AUTO, + "1": HVACMode.COOL, + "2": HVACMode.COOL, + "3": HVACMode.DRY, + "4": HVACMode.HEAT, + "5": HVACMode.FAN_ONLY, + "6": HVACMode.FAN_ONLY, +} + +HON_HVAC_PROGRAM = { + HVACMode.AUTO: "iot_auto", + HVACMode.COOL: "iot_cool", + HVACMode.DRY: "iot_dry", + HVACMode.HEAT: "iot_heat", + HVACMode.FAN_ONLY: "iot_fan", +} + +HON_FAN = { + "1": climate.FAN_HIGH, + "2": climate.FAN_MEDIUM, + "3": climate.FAN_LOW, + "4": climate.FAN_AUTO, + "5": climate.FAN_AUTO, +} diff --git a/custom_components/hon/number.py b/custom_components/hon/number.py index c80f5fe..3983d45 100644 --- a/custom_components/hon/number.py +++ b/custom_components/hon/number.py @@ -135,6 +135,16 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = { translation_key="water_hard", ), ), + "AC": ( + NumberEntityDescription( + key="startProgram.tempSel", + name="Target Temperature", + entity_category=EntityCategory.CONFIG, + icon="mdi:thermometer", + native_unit_of_measurement=UnitOfTemperature.CELSIUS, + translation_key="target_temperature", + ), + ), } @@ -186,6 +196,8 @@ class HonNumberEntity(HonEntity, NumberEntity): isinstance(setting, HonParameter) or isinstance(setting, HonParameterFixed) ): setting.value = value + if self._device.appliance_type in ["AC"]: + self._device.commands["startProgram"].send() await self.coordinator.async_refresh() @callback diff --git a/custom_components/hon/select.py b/custom_components/hon/select.py index 8d614e1..9c76e82 100644 --- a/custom_components/hon/select.py +++ b/custom_components/hon/select.py @@ -97,6 +97,20 @@ SELECTS = { translation_key="programs_dw", ), ), + "AC": ( + SelectEntityDescription( + key="startProgram.program", + name="Program", + entity_category=EntityCategory.CONFIG, + translation_key="programs_ac", + ), + SelectEntityDescription( + key="startProgram.humanSensingStatus", + name="Eco Pilot", + entity_category=EntityCategory.CONFIG, + translation_key="eco_pilot", + ), + ), } @@ -147,6 +161,8 @@ class HonSelectEntity(HonEntity, SelectEntity): async def async_select_option(self, option: str) -> None: self._device.settings[self.entity_description.key].value = option + if self._device.appliance_type in ["AC"]: + self._device.commands["startProgram"].send() await self.coordinator.async_refresh() @callback diff --git a/custom_components/hon/switch.py b/custom_components/hon/switch.py index 412c744..dc2218c 100644 --- a/custom_components/hon/switch.py +++ b/custom_components/hon/switch.py @@ -193,6 +193,65 @@ SWITCHES: dict[str, tuple[HonSwitchEntityDescription, ...]] = { translation_key="add_dish", ), ), + "AC": ( + HonSwitchEntityDescription( + key="startProgram.10degreeHeatingStatus", + name="10° Heating", + entity_category=EntityCategory.CONFIG, + translation_key="10_degree_heating", + ), + HonSwitchEntityDescription( + key="startProgram.echoStatus", + name="Echo", + entity_category=EntityCategory.CONFIG, + ), + HonSwitchEntityDescription( + key="startProgram.ecoMode", + name="Eco Mode", + entity_category=EntityCategory.CONFIG, + translation_key="eco_mode", + ), + HonSwitchEntityDescription( + key="startProgram.healthMode", + name="Health Mode", + entity_category=EntityCategory.CONFIG, + ), + HonSwitchEntityDescription( + key="startProgram.muteStatus", + name="Mute", + entity_category=EntityCategory.CONFIG, + translation_key="mute_mode", + ), + HonSwitchEntityDescription( + key="startProgram.rapidMode", + name="Rapid Mode", + entity_category=EntityCategory.CONFIG, + translation_key="rapid_mode", + ), + HonSwitchEntityDescription( + key="startProgram.screenDisplayStatus", + name="Screen Display", + entity_category=EntityCategory.CONFIG, + ), + HonSwitchEntityDescription( + key="startProgram.selfCleaning56Status", + name="Self Cleaning 56", + entity_category=EntityCategory.CONFIG, + translation_key="self_clean_56", + ), + HonSwitchEntityDescription( + key="startProgram.selfCleaningStatus", + name="Self Cleaning", + entity_category=EntityCategory.CONFIG, + translation_key="self_clean", + ), + HonSwitchEntityDescription( + key="startProgram.silentSleepStatus", + name="Silent Sleep", + entity_category=EntityCategory.CONFIG, + translation_key="silent_mode", + ), + ), } @@ -261,6 +320,8 @@ class HonSwitchEntity(HonEntity, SwitchEntity): setting.max if isinstance(setting, HonParameterRange) else "1" ) self.async_write_ha_state() + if self._device.appliance_type in ["AC"]: + self._device.commands["startProgram"].send() await self.coordinator.async_refresh() else: await self._device.commands[self.entity_description.turn_on_key].send() @@ -272,6 +333,8 @@ class HonSwitchEntity(HonEntity, SwitchEntity): setting.min if isinstance(setting, HonParameterRange) else "0" ) self.async_write_ha_state() + if self._device.appliance_type in ["AC"]: + self._device.commands["startProgram"].send() await self.coordinator.async_refresh() else: await self._device.commands[self.entity_description.turn_off_key].send() diff --git a/custom_components/hon/translations/cs.json b/custom_components/hon/translations/cs.json index ffac5ea..084c556 100644 --- a/custom_components/hon/translations/cs.json +++ b/custom_components/hon/translations/cs.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Efektivní využívání vody Aktuální" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Chlazení", + "2": "Chlazení", + "3": "Odvlhčování", + "4": "Vytápění", + "5": "Ventilátor", + "6": "Ventilátor" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Doba sušení" + }, + "eco_pilot": { + "state": { + "0": "Vypnuto", + "1": "Vyhybání", + "2": "Sledování" + }, + "name": "Senzor osob" + }, + "fan_mode": { + "state": { + "1": "Vysoký", + "2": "Střední ", + "3": "Nízký", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkce Vytápění 10 °C", + "iot_auto": "Auto", + "iot_cool": "Chlazení", + "iot_dry": "Odvlhčování", + "iot_fan": "Ventilátor", + "iot_heat": "Vytápění", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Automatické čištění", + "iot_self_clean": "Samočištění zamrazením", + "iot_self_clean_56": "Samočištění 56°C sterilizace ", + "iot_simple_start": "Spustit nyní", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + auto", + "iot_uv_and_cool": "UV + zchlazení", + "iot_uv_and_dry": "UV + odstranění vlhkosti", + "iot_uv_and_fan": "UV + ventilátor", + "iot_uv_and_heat": "UV + ohřev" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Odložené spuštění" + }, + "rapid_mode": { + "name": "Rychlý režim" + }, + "eco_mode": { + "name": "Režim ECO" + }, + "10_degree_heating": { + "name": "Funkce Vytápění 10 °C" + }, + "self_clean": { + "name": "Samočištění zamrazením" + }, + "self_clean_56": { + "name": "Samočištění 56°C sterilizace " + }, + "silent_mode": { + "name": "Tichý režim" + }, + "mute_mode": { + "name": "Tichý režim" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/de.json b/custom_components/hon/translations/de.json index 641fb45..f9a026e 100644 --- a/custom_components/hon/translations/de.json +++ b/custom_components/hon/translations/de.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Wasserverbrauch Aktuell" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Kühl", + "2": "Kühl", + "3": "Trocken", + "4": "Heizen", + "5": "Ventilator", + "6": "Ventilator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Trocknungsdauer" + }, + "eco_pilot": { + "state": { + "0": "Aus", + "1": "Berührung vermeiden", + "2": "Folgen" + }, + "name": "Eco Pilot" + }, + "fan_mode": { + "state": { + "1": "Hoch", + "2": "Mittel ", + "3": "Niedrig", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10°C Heizfunktion", + "iot_auto": "Auto", + "iot_cool": "Kühl", + "iot_dry": "Trocken", + "iot_fan": "Ventilator", + "iot_heat": "Heizen", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Selbst reinigen", + "iot_self_clean": "Self-Clean", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Jetzt beginnen", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Kalt", + "iot_uv_and_dry": "UV + Entfeuchter", + "iot_uv_and_fan": "UV + Gebläse", + "iot_uv_and_heat": "UV + Heizen" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Einschaltverzögerung" + }, + "rapid_mode": { + "name": "Schnellmodus" + }, + "eco_mode": { + "name": "ECO-Modus" + }, + "10_degree_heating": { + "name": "10°C Heizfunktion" + }, + "self_clean": { + "name": "Self-Clean" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Silent-Modus" + }, + "mute_mode": { + "name": "Stummer Modus" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/el.json b/custom_components/hon/translations/el.json index 1b3818b..d5f660a 100644 --- a/custom_components/hon/translations/el.json +++ b/custom_components/hon/translations/el.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Απόδοση νερού Current" + }, + "mach_modes_ac": { + "state": { + "0": "Αυτόματο", + "1": "Ψύξη", + "2": "Ψύξη", + "3": "Στέγνωμα", + "4": "Ζέστη", + "5": "Ανεμιστήρας", + "6": "Ανεμιστήρας" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Χρόνος στεγνώματος" + }, + "eco_pilot": { + "state": { + "0": "Απενεργοποιηση", + "1": "Αποφύγετε την αφή", + "2": "Σας ακολουθεί" + }, + "name": "Οικολογικός πιλότος" + }, + "fan_mode": { + "state": { + "1": "Υψηλό", + "2": "Μέτριο ", + "3": "Χαμηλό", + "4": "Αυτόματο", + "5": "Αυτόματο" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10° C Λειτουργία θέρμανσης", + "iot_auto": "Αυτόματο", + "iot_cool": "Ψύξη", + "iot_dry": "Στέγνωμα", + "iot_fan": "Ανεμιστήρας", + "iot_heat": "Ζέστη", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Αυτοκαθαρισμός", + "iot_self_clean": "Αυτοκαθαρισμός", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Εκκίνηση τώρα", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Ψύξη", + "iot_uv_and_dry": "UV + Αφυγραντήρας", + "iot_uv_and_fan": "UV + Ανεμιστήρας", + "iot_uv_and_heat": "UV + Θέρμανση" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Καθυστερημένη έναρξη" + }, + "rapid_mode": { + "name": "Ταχεία λειτουργία" + }, + "eco_mode": { + "name": "Λειτουργία Eco" + }, + "10_degree_heating": { + "name": "10° C Λειτουργία θέρμανσης" + }, + "self_clean": { + "name": "Αυτοκαθαρισμός" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Αθόρυβη λειτουργία" + }, + "mute_mode": { + "name": "Σίγαση λειτουργίας" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/en.json b/custom_components/hon/translations/en.json index bd6281c..ce3bf5e 100644 --- a/custom_components/hon/translations/en.json +++ b/custom_components/hon/translations/en.json @@ -213,6 +213,17 @@ }, "water_current": { "name": "Water efficiency Current" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Cool", + "2": "Cool", + "3": "Dry", + "4": "Heat", + "5": "Fan", + "6": "Fan" + } } }, "switch": { @@ -266,6 +277,27 @@ }, "delay_time": { "name": "Delay Start" + }, + "rapid_mode": { + "name": "Rapid mode" + }, + "eco_mode": { + "name": "ECO mode" + }, + "10_degree_heating": { + "name": "10°C Heating function" + }, + "self_clean": { + "name": "Self-clean" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Silent mode" + }, + "mute_mode": { + "name": "Mute mode" } }, "select": { @@ -941,6 +973,44 @@ }, "dry_time": { "name": "Drying time" + }, + "eco_pilot": { + "state": { + "0": "Off", + "1": "Avoid touch", + "2": "Follow" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "High", + "2": "Medium ", + "3": "Low", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10°C Heating function", + "iot_auto": "Auto", + "iot_cool": "Cool", + "iot_dry": "Dry", + "iot_fan": "Fan", + "iot_heat": "Heat", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Self-purify", + "iot_self_clean": "Self-clean", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Start now", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Cold", + "iot_uv_and_dry": "UV + Dehumidifier", + "iot_uv_and_fan": "UV + Fan", + "iot_uv_and_heat": "UV + Heat" + } } }, "binary_sensor": { diff --git a/custom_components/hon/translations/es.json b/custom_components/hon/translations/es.json index 7770637..89e2aba 100644 --- a/custom_components/hon/translations/es.json +++ b/custom_components/hon/translations/es.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Eficiencia hídrica Actual" + }, + "mach_modes_ac": { + "state": { + "0": "Automático", + "1": "Frío", + "2": "Frío", + "3": "Deshumidificar", + "4": "Calor", + "5": "Ventilador", + "6": "Ventilador" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Tiempo de secado" + }, + "eco_pilot": { + "state": { + "0": "Apagado", + "1": "Evitar el contacto", + "2": "Sígueme" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Alta", + "2": "Media ", + "3": "Baja", + "4": "Automático", + "5": "Automático" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Función de calentamiento de 10° C", + "iot_auto": "Automático", + "iot_cool": "Frío", + "iot_dry": "Deshumidificar", + "iot_fan": "Ventilador", + "iot_heat": "Calor", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Autopurificar", + "iot_self_clean": "Autolimpieza", + "iot_self_clean_56": "Limpieza desinfectante 56°", + "iot_simple_start": "Iniciar ahora", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Automático", + "iot_uv_and_cool": "UV + Frío", + "iot_uv_and_dry": "UV + Deshumidificador", + "iot_uv_and_fan": "UV + Ventilador", + "iot_uv_and_heat": "UV + Calor" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Inicio Diferido" + }, + "rapid_mode": { + "name": "Modo rápido" + }, + "eco_mode": { + "name": "Modo ECO" + }, + "10_degree_heating": { + "name": "Función de calentamiento de 10° C" + }, + "self_clean": { + "name": "Autolimpieza" + }, + "self_clean_56": { + "name": "Limpieza desinfectante 56°" + }, + "silent_mode": { + "name": "Modo silencioso" + }, + "mute_mode": { + "name": "Modo silencio" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/fr.json b/custom_components/hon/translations/fr.json index 1ffd1a2..faea7f7 100644 --- a/custom_components/hon/translations/fr.json +++ b/custom_components/hon/translations/fr.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Efficacité en eau Actuel" + }, + "mach_modes_ac": { + "state": { + "0": "Automatique", + "1": "Frais", + "2": "Frais", + "3": "Sec", + "4": "Chaleur", + "5": "Ventilateur", + "6": "Ventilateur" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Temps de séchage" + }, + "eco_pilot": { + "state": { + "0": "Désactivé", + "1": "Évitez de toucher", + "2": "Suivi" + }, + "name": "Pilote éco" + }, + "fan_mode": { + "state": { + "1": "Élevé", + "2": "Intermédiaire ", + "3": "Faible", + "4": "Automatique", + "5": "Automatique" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Fonction Chauffage 10 °C", + "iot_auto": "Automatique", + "iot_cool": "Frais", + "iot_dry": "Sec", + "iot_fan": "Ventilateur", + "iot_heat": "Chaleur", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Auto-purification", + "iot_self_clean": "Auto-nettoyage", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Démarrez maintenant", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Froid", + "iot_uv_and_dry": "UV + Déshumidificateur", + "iot_uv_and_fan": "UV + ventilateur", + "iot_uv_and_heat": "UV + Chaleur" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Démarrage Différé" + }, + "rapid_mode": { + "name": "Mode rapide" + }, + "eco_mode": { + "name": "Mode Eco" + }, + "10_degree_heating": { + "name": "Fonction Chauffage 10 °C" + }, + "self_clean": { + "name": "Auto-nettoyage" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Mode silencieux" + }, + "mute_mode": { + "name": "Mode muet" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/he.json b/custom_components/hon/translations/he.json index afa67d3..0589ec1 100644 --- a/custom_components/hon/translations/he.json +++ b/custom_components/hon/translations/he.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Water efficiency Current" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Cool", + "2": "Cool", + "3": "Dry", + "4": "Heat", + "5": "Fan", + "6": "Fan" + } } }, "select": { @@ -420,6 +431,28 @@ }, "dry_time": { "name": "זמן ייבוש" + }, + "eco_pilot": { + "state": { + "0": "Off", + "1": "Avoid touch", + "2": "Follow" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "High", + "2": "Medium ", + "3": "Low", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_simple_start": "התחל עכשיו" + } } }, "switch": { @@ -473,6 +506,27 @@ }, "delay_time": { "name": "Delay Start" + }, + "rapid_mode": { + "name": "Rapid mode" + }, + "eco_mode": { + "name": "ECO mode" + }, + "10_degree_heating": { + "name": "10°C Heating function" + }, + "self_clean": { + "name": "Self-clean" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Silent mode" + }, + "mute_mode": { + "name": "Mute mode" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/hr.json b/custom_components/hon/translations/hr.json index fcc04ea..e7c042a 100644 --- a/custom_components/hon/translations/hr.json +++ b/custom_components/hon/translations/hr.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Učinkovitost vode Current" + }, + "mach_modes_ac": { + "state": { + "0": "Automatski", + "1": "Hlađenje", + "2": "Hlađenje", + "3": "Sušenje", + "4": "Zagrijavanje", + "5": "Ventilator", + "6": "Ventilator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Trajanje sušenja" + }, + "eco_pilot": { + "state": { + "0": "Isključeno", + "1": "Izbjegavajte dodir", + "2": "Pratite" + }, + "name": "Eko-pilot" + }, + "fan_mode": { + "state": { + "1": "Visoko", + "2": "Srednje ", + "3": "Nisko", + "4": "Automatski", + "5": "Automatski" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkcija grijanja na 10 °C", + "iot_auto": "Automatski", + "iot_cool": "Hlađenje", + "iot_dry": "Sušenje", + "iot_fan": "Ventilator", + "iot_heat": "Zagrijavanje", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Sampročišćavanje", + "iot_self_clean": "Samočišćenje", + "iot_self_clean_56": "Sterilno čišćenje 56°C", + "iot_simple_start": "Pokreni sada", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + automatski", + "iot_uv_and_cool": "UV + hladno", + "iot_uv_and_dry": "UV + odvlaživač", + "iot_uv_and_fan": "UV + ventilator", + "iot_uv_and_heat": "UV + grijanje" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Odgoda početka" + }, + "rapid_mode": { + "name": "Brzi način rada" + }, + "eco_mode": { + "name": "Način rada ECO" + }, + "10_degree_heating": { + "name": "Funkcija grijanja na 10 °C" + }, + "self_clean": { + "name": "Samočišćenje" + }, + "self_clean_56": { + "name": "Sterilno čišćenje 56°C" + }, + "silent_mode": { + "name": "Tihi način rada" + }, + "mute_mode": { + "name": "Bešumni način rada" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/it.json b/custom_components/hon/translations/it.json index 001df55..67d44df 100644 --- a/custom_components/hon/translations/it.json +++ b/custom_components/hon/translations/it.json @@ -206,6 +206,17 @@ }, "water_current": { "name": "Efficienza idrica Odierna" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Freddo", + "2": "Freddo", + "3": "Deumidificazione", + "4": "Caldo", + "5": "Ventilatore", + "6": "Ventilatore" + } } }, "select": { @@ -873,6 +884,44 @@ }, "dry_time": { "name": "Tempo asciugatura" + }, + "eco_pilot": { + "state": { + "0": "Spento", + "1": "Avoid touch", + "2": "Segui" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Alto", + "2": "Medio", + "3": "Basso", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funzione 10°C Heating ", + "iot_auto": "Auto", + "iot_cool": "Freddo", + "iot_dry": "Deumidificazione", + "iot_fan": "Ventilatore", + "iot_heat": "Caldo", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Self purify", + "iot_self_clean": "Self clean", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Avvia ora", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Freddo", + "iot_uv_and_dry": "UV + Deumidificatore", + "iot_uv_and_fan": "UV + Ventola", + "iot_uv_and_heat": "UV + Caldo" + } } }, "switch": { @@ -926,6 +975,27 @@ }, "delay_time": { "name": "Utilizzo nelle ore notturne" + }, + "rapid_mode": { + "name": "Modalità rapida" + }, + "eco_mode": { + "name": "Modalità ECO" + }, + "10_degree_heating": { + "name": "Funzione 10°C Heating " + }, + "self_clean": { + "name": "Self clean" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Modalità silenziosa" + }, + "mute_mode": { + "name": "Modalità tacita" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/nl.json b/custom_components/hon/translations/nl.json index c5666f2..8284d2a 100644 --- a/custom_components/hon/translations/nl.json +++ b/custom_components/hon/translations/nl.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Efficiënt waterverbruik Huidige" + }, + "mach_modes_ac": { + "state": { + "0": "Automatisch", + "1": "Koelen", + "2": "Koelen", + "3": "Drogen", + "4": "Verwarming", + "5": "Ventilator", + "6": "Ventilator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Droogtijd" + }, + "eco_pilot": { + "state": { + "0": "Uit", + "1": "Voorkom aanraking", + "2": "Volgen" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Hoog", + "2": "Gemiddeld ", + "3": "Laag", + "4": "Automatisch", + "5": "Automatisch" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10°C-verwarmingsfunctie", + "iot_auto": "Automatisch", + "iot_cool": "Koelen", + "iot_dry": "Drogen", + "iot_fan": "Ventilator", + "iot_heat": "Verwarming", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Zelfzuivering", + "iot_self_clean": "Zelfreiniging", + "iot_self_clean_56": "Sterilisatie reiniging 56°C", + "iot_simple_start": "Start nu", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Koud", + "iot_uv_and_dry": "UV + Ontvochtiger", + "iot_uv_and_fan": "UV + Hetelucht", + "iot_uv_and_heat": "UV + Warmte" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Vertraag Start" + }, + "rapid_mode": { + "name": "Snelle modus" + }, + "eco_mode": { + "name": "ECO-modus" + }, + "10_degree_heating": { + "name": "10°C-verwarmingsfunctie" + }, + "self_clean": { + "name": "Zelfreiniging" + }, + "self_clean_56": { + "name": "Sterilisatie reiniging 56°C" + }, + "silent_mode": { + "name": "Stille modus" + }, + "mute_mode": { + "name": "Dempmodus" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/pl.json b/custom_components/hon/translations/pl.json index b3ba23e..fd22571 100644 --- a/custom_components/hon/translations/pl.json +++ b/custom_components/hon/translations/pl.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Wydajność zużycia wody Aktualne" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Chłodzenie", + "2": "Chłodzenie", + "3": "Osuszanie", + "4": "Grzanie", + "5": "Wentylator", + "6": "Wentylator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Czas suszenia" + }, + "eco_pilot": { + "state": { + "0": "Wyłącz", + "1": "Unikanie kontaktu", + "2": "Podążanie" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Wysoki", + "2": "Średni ", + "3": "Niski", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkcja grzania 10°C", + "iot_auto": "Auto", + "iot_cool": "Chłodzenie", + "iot_dry": "Osuszanie", + "iot_fan": "Wentylator", + "iot_heat": "Grzanie", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Self Purify", + "iot_self_clean": "Self Clean", + "iot_self_clean_56": "Steri Clean 56°C", + "iot_simple_start": "Uruchom teraz", + "iot_uv": "Sterylizacja UVC", + "iot_uv_and_auto": "UV + automat", + "iot_uv_and_cool": "UV + chłodzenie", + "iot_uv_and_dry": "UV + osuszacz powietrza", + "iot_uv_and_fan": "UV + wentylator", + "iot_uv_and_heat": "UV + podgrzewanie" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Opóźniony Start" + }, + "rapid_mode": { + "name": "Tryb szybki" + }, + "eco_mode": { + "name": "Tryb ECO" + }, + "10_degree_heating": { + "name": "Funkcja grzania 10°C" + }, + "self_clean": { + "name": "Self Clean" + }, + "self_clean_56": { + "name": "Steri Clean 56°C" + }, + "silent_mode": { + "name": "Tryb cichy" + }, + "mute_mode": { + "name": "Tryb wyciszenia" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/pt.json b/custom_components/hon/translations/pt.json index 36fd66a..4ce56f2 100644 --- a/custom_components/hon/translations/pt.json +++ b/custom_components/hon/translations/pt.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Eficiência da água Data" + }, + "mach_modes_ac": { + "state": { + "0": "Auto", + "1": "Frio", + "2": "Frio", + "3": "Secar", + "4": "Calor", + "5": "Ventilador", + "6": "Ventilador" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Tempo de secagem" + }, + "eco_pilot": { + "state": { + "0": "Off", + "1": "Evitar o toque", + "2": "Seguir" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Alta", + "2": "Média ", + "3": "Baixa", + "4": "Auto", + "5": "Auto" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Função de aquecimento de 10 °C", + "iot_auto": "Auto", + "iot_cool": "Frio", + "iot_dry": "Secar", + "iot_fan": "Ventilador", + "iot_heat": "Calor", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Autopurificação", + "iot_self_clean": "Autolimpeza", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Iniciar agora", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Frio", + "iot_uv_and_dry": "UV + Desumidificador", + "iot_uv_and_fan": "UV + Ventilação", + "iot_uv_and_heat": "UV + Calor" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Início adiado" + }, + "rapid_mode": { + "name": "Modo rápido" + }, + "eco_mode": { + "name": "Modo ECO" + }, + "10_degree_heating": { + "name": "Função de aquecimento de 10 °C" + }, + "self_clean": { + "name": "Autolimpeza" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Modo Silencioso" + }, + "mute_mode": { + "name": "Modo Mute" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/ro.json b/custom_components/hon/translations/ro.json index 7b2a432..c56b437 100644 --- a/custom_components/hon/translations/ro.json +++ b/custom_components/hon/translations/ro.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Eficiența apei Current" + }, + "mach_modes_ac": { + "state": { + "0": "Automat", + "1": "Răcire", + "2": "Răcire", + "3": "Uscare", + "4": "Încălzire", + "5": "Ventilare", + "6": "Ventilare" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Timp de uscare" + }, + "eco_pilot": { + "state": { + "0": "Oprit", + "1": "Evitați atingerea", + "2": "Urmărire" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Ridicat", + "2": "Mediu ", + "3": "Scăzut", + "4": "Automat", + "5": "Automat" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funcția de încălzire la 10 °C", + "iot_auto": "Automat", + "iot_cool": "Răcire", + "iot_dry": "Uscare", + "iot_fan": "Ventilare", + "iot_heat": "Încălzire", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Auto-purificare", + "iot_self_clean": "Autocurățare", + "iot_self_clean_56": "Curățare-sterilizare la 56°C", + "iot_simple_start": "Începeți acum", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + automat", + "iot_uv_and_cool": "UV + răcire", + "iot_uv_and_dry": "UV + dezumidificator", + "iot_uv_and_fan": "UV + ventilator", + "iot_uv_and_heat": "UV + încălzire" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Pornire întârziată" + }, + "rapid_mode": { + "name": "Modul rapid" + }, + "eco_mode": { + "name": "Modul Eco" + }, + "10_degree_heating": { + "name": "Funcția de încălzire la 10 °C" + }, + "self_clean": { + "name": "Autocurățare" + }, + "self_clean_56": { + "name": "Curățare-sterilizare la 56°C" + }, + "silent_mode": { + "name": "Modul silențios" + }, + "mute_mode": { + "name": "Modul mut" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/ru.json b/custom_components/hon/translations/ru.json index e97bd7f..154d3c6 100644 --- a/custom_components/hon/translations/ru.json +++ b/custom_components/hon/translations/ru.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Эффективность расхода воды Текущий" + }, + "mach_modes_ac": { + "state": { + "0": "Авто", + "1": "Охлаждение", + "2": "Охлаждение", + "3": "Сушка", + "4": "Нагрев", + "5": "Вентилятор", + "6": "Вентилятор" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Время сушки" + }, + "eco_pilot": { + "state": { + "0": "ВЫКЛ", + "1": "Не прикасайтесь", + "2": "Следование" + }, + "name": "Eco pilot" + }, + "fan_mode": { + "state": { + "1": "Высокий", + "2": "Средний ", + "3": "Низкий", + "4": "Авто", + "5": "Авто" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Функция нагрева до 10°C", + "iot_auto": "Авто", + "iot_cool": "Охлаждение", + "iot_dry": "Сушка", + "iot_fan": "Вентилятор", + "iot_heat": "Нагрев", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Самоочищение", + "iot_self_clean": "Самоочистка", + "iot_self_clean_56": "Steri-Clean 56°C", + "iot_simple_start": "Пуск сейчас", + "iot_uv": "Ультрафиолет", + "iot_uv_and_auto": "УФ + Авто", + "iot_uv_and_cool": "УФ + Охлаждение", + "iot_uv_and_dry": "УФ + Осушитель", + "iot_uv_and_fan": "УФ + Вентилятор", + "iot_uv_and_heat": "УФ + Нагрев" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Отложенный пуск" + }, + "rapid_mode": { + "name": "Быстрый режим" + }, + "eco_mode": { + "name": "Режим ECO" + }, + "10_degree_heating": { + "name": "Функция нагрева до 10°C" + }, + "self_clean": { + "name": "Самоочистка" + }, + "self_clean_56": { + "name": "Steri-Clean 56°C" + }, + "silent_mode": { + "name": "Тихий режим" + }, + "mute_mode": { + "name": "Беззвучный режим" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/sk.json b/custom_components/hon/translations/sk.json index 46739d3..2ef0d42 100644 --- a/custom_components/hon/translations/sk.json +++ b/custom_components/hon/translations/sk.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Účinnosť vody Current" + }, + "mach_modes_ac": { + "state": { + "0": "Automatika", + "1": "Chladiť", + "2": "Chladiť", + "3": "Sušiť", + "4": "Ohrev", + "5": "Ventilátor", + "6": "Ventilátor" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Čas sušenia" + }, + "eco_pilot": { + "state": { + "0": "Off (Vypnúť)", + "1": "Nedotýkať sa", + "2": "Nasledovať" + }, + "name": "Ekologický pilot" + }, + "fan_mode": { + "state": { + "1": "Vysoká", + "2": "Stredne ťažká ", + "3": "Nízka", + "4": "Automatika", + "5": "Automatika" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkcia vykurovania na 10 °C", + "iot_auto": "Automatika", + "iot_cool": "Chladiť", + "iot_dry": "Sušiť", + "iot_fan": "Ventilátor", + "iot_heat": "Ohrev", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Samoprečisťovanie", + "iot_self_clean": "Samočistenie", + "iot_self_clean_56": "Sterilné čistenie 56°C", + "iot_simple_start": "Spustiť teraz", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Auto", + "iot_uv_and_cool": "UV + Studené", + "iot_uv_and_dry": "UV + Odvlhčovač", + "iot_uv_and_fan": "UV + Ventilátor", + "iot_uv_and_heat": "UV + Ohrev" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Odložený štart" + }, + "rapid_mode": { + "name": "Rýchly režim" + }, + "eco_mode": { + "name": "Režim ECO" + }, + "10_degree_heating": { + "name": "Funkcia vykurovania na 10 °C" + }, + "self_clean": { + "name": "Samočistenie" + }, + "self_clean_56": { + "name": "Sterilné čistenie 56°C" + }, + "silent_mode": { + "name": "Tichý režim" + }, + "mute_mode": { + "name": "Stlmený režim" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/sl.json b/custom_components/hon/translations/sl.json index 98be657..c2e8729 100644 --- a/custom_components/hon/translations/sl.json +++ b/custom_components/hon/translations/sl.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Učinkovita raba vode Current" + }, + "mach_modes_ac": { + "state": { + "0": "Samodejno", + "1": "Hlajenje", + "2": "Hlajenje", + "3": "Sušenje", + "4": "Segrevanje", + "5": "Ventilator", + "6": "Ventilator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Čas sušenja" + }, + "eco_pilot": { + "state": { + "0": "Izklop", + "1": "Brez dotika", + "2": "Sledenje" + }, + "name": "Eko pilot" + }, + "fan_mode": { + "state": { + "1": "Visoko", + "2": "Srednje ", + "3": "Nizko", + "4": "Samodejno", + "5": "Samodejno" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkcija ogrevanja pri 10 °C", + "iot_auto": "Samodejno", + "iot_cool": "Hlajenje", + "iot_dry": "Sušenje", + "iot_fan": "Ventilator", + "iot_heat": "Segrevanje", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Samoočiščevanje", + "iot_self_clean": "Samodejno čiščenje", + "iot_self_clean_56": "Sterilno čiščenje 56°C", + "iot_simple_start": "Zaženi zdaj", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + samodejno", + "iot_uv_and_cool": "UV + hlajenje", + "iot_uv_and_dry": "UV + razvlaževanje", + "iot_uv_and_fan": "UV + ventilator", + "iot_uv_and_heat": "UV + gretje" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "S funkcijo Zamik vklopa je možno odložiti začetek sušilnega cikla od 1 do 24 ur. Na zaslonu se prikaže izbrana zakasnitev. Da bi videli kako se zmanjšuje iz ure v uro, pritisnite ZAČETEK. Na ta način bo perilo suho takrat, ko boste to želeli, in zagnali cikel, ko vam to najbolj ustreza, celo ponoči." + }, + "rapid_mode": { + "name": "Hitri način" + }, + "eco_mode": { + "name": "Način ECO" + }, + "10_degree_heating": { + "name": "Funkcija ogrevanja pri 10 °C" + }, + "self_clean": { + "name": "Samodejno čiščenje" + }, + "self_clean_56": { + "name": "Sterilno čiščenje 56°C" + }, + "silent_mode": { + "name": "Tihi način" + }, + "mute_mode": { + "name": "Način z izklopljenim zvokom" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/sr.json b/custom_components/hon/translations/sr.json index d9e8994..eb5390e 100644 --- a/custom_components/hon/translations/sr.json +++ b/custom_components/hon/translations/sr.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Efikasnost vode Current" + }, + "mach_modes_ac": { + "state": { + "0": "Automatski", + "1": "Hlađenje", + "2": "Hlađenje", + "3": "Sušenje", + "4": "Toplota", + "5": "Ventilator", + "6": "Ventilator" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Vreme sušenja" + }, + "eco_pilot": { + "state": { + "0": "Isključeno", + "1": "Izbegavajte dodir", + "2": "Pratiti" + }, + "name": "Eko pilot" + }, + "fan_mode": { + "state": { + "1": "Visoko", + "2": "Srednje ", + "3": "Nisko", + "4": "Automatski", + "5": "Automatski" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "Funkcija grejanja – 10° C", + "iot_auto": "Automatski", + "iot_cool": "Hlađenje", + "iot_dry": "Sušenje", + "iot_fan": "Ventilator", + "iot_heat": "Toplota", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Samopročišćavanje", + "iot_self_clean": "Samočišćenje", + "iot_self_clean_56": "Sterilno čišćenje 56°C", + "iot_simple_start": "Pokrenuti sada", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + automatsko", + "iot_uv_and_cool": "UV+ hladno", + "iot_uv_and_dry": "UV + odvlaživač", + "iot_uv_and_fan": "UV + ventilator", + "iot_uv_and_heat": "UV + toplota" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Odloženi start" + }, + "rapid_mode": { + "name": "Brzi režim rada" + }, + "eco_mode": { + "name": "ECO režim" + }, + "10_degree_heating": { + "name": "Funkcija grejanja – 10° C" + }, + "self_clean": { + "name": "Samočišćenje" + }, + "self_clean_56": { + "name": "Sterilno čišćenje 56°C" + }, + "silent_mode": { + "name": "Tihi režim" + }, + "mute_mode": { + "name": "Režim isključenog zvuka" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/tr.json b/custom_components/hon/translations/tr.json index 9b37205..96e3472 100644 --- a/custom_components/hon/translations/tr.json +++ b/custom_components/hon/translations/tr.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "Su verimliliği Current" + }, + "mach_modes_ac": { + "state": { + "0": "Otomatik", + "1": "Soğuk", + "2": "Soğuk", + "3": "Kuru", + "4": "Isı", + "5": "Fan", + "6": "Fan" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "Kurutma zamanı" + }, + "eco_pilot": { + "state": { + "0": "Kapali", + "1": "Dokunmaktan kaçının", + "2": "Takip et" + }, + "name": "Eko pilot" + }, + "fan_mode": { + "state": { + "1": "Yüksek", + "2": "Orta ", + "3": "Düşük", + "4": "Otomatik", + "5": "Otomatik" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10°C Isıtma fonksiyonu", + "iot_auto": "Otomatik", + "iot_cool": "Soğuk", + "iot_dry": "Kuru", + "iot_fan": "Fan", + "iot_heat": "Isı", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "Kendi kendini arındırma", + "iot_self_clean": "Kendi kendini temizleme", + "iot_self_clean_56": "Steril Temizleme 56°C", + "iot_simple_start": "Şimdi başlat", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + Otomatik", + "iot_uv_and_cool": "UV + Soğuk", + "iot_uv_and_dry": "UV + Nem giderici", + "iot_uv_and_fan": "UV + Fan", + "iot_uv_and_heat": "UV + Isıtma" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "Gecikmeli Başlatma" + }, + "rapid_mode": { + "name": "Hızlı mod" + }, + "eco_mode": { + "name": "ECO modu" + }, + "10_degree_heating": { + "name": "10°C Isıtma fonksiyonu" + }, + "self_clean": { + "name": "Kendi kendini temizleme" + }, + "self_clean_56": { + "name": "Steril Temizleme 56°C" + }, + "silent_mode": { + "name": "Sessiz mod" + }, + "mute_mode": { + "name": "Ses Kapalı mod" } }, "binary_sensor": { diff --git a/custom_components/hon/translations/zh.json b/custom_components/hon/translations/zh.json index a23879e..9a99238 100644 --- a/custom_components/hon/translations/zh.json +++ b/custom_components/hon/translations/zh.json @@ -154,6 +154,17 @@ }, "water_current": { "name": "用水效率 Current" + }, + "mach_modes_ac": { + "state": { + "0": "自动", + "1": "冷却", + "2": "冷却", + "3": "烘干", + "4": "加热", + "5": "风扇", + "6": "风扇" + } } }, "select": { @@ -821,6 +832,44 @@ }, "dry_time": { "name": "烘干时间" + }, + "eco_pilot": { + "state": { + "0": "关闭", + "1": "避免触摸", + "2": "跟随" + }, + "name": "节能模式" + }, + "fan_mode": { + "state": { + "1": "高", + "2": "中 ", + "3": "低", + "4": "自动", + "5": "自动" + } + }, + "programs_ac": { + "state": { + "iot_10_heating": "10°C 加热功能", + "iot_auto": "自动", + "iot_cool": "冷却", + "iot_dry": "烘干", + "iot_fan": "风扇", + "iot_heat": "加热", + "iot_nano_aqua": "Nano Aqua", + "iot_purify": "自净", + "iot_self_clean": "自洁", + "iot_self_clean_56": "无菌清洁 56°C", + "iot_simple_start": "立即启动", + "iot_uv": "UV", + "iot_uv_and_auto": "UV + 自动", + "iot_uv_and_cool": "UV + 制冷", + "iot_uv_and_dry": "UV + 减湿器", + "iot_uv_and_fan": "UV + 风扇", + "iot_uv_and_heat": "UV + 加热" + } } }, "switch": { @@ -874,6 +923,27 @@ }, "delay_time": { "name": "延时启动" + }, + "rapid_mode": { + "name": "快速模式" + }, + "eco_mode": { + "name": "ECO 模式" + }, + "10_degree_heating": { + "name": "10°C 加热功能" + }, + "self_clean": { + "name": "自洁" + }, + "self_clean_56": { + "name": "无菌清洁 56°C" + }, + "silent_mode": { + "name": "夜静模式" + }, + "mute_mode": { + "name": "静音模式" } }, "binary_sensor": { diff --git a/scripts/generate_translation.py b/scripts/generate_translation.py index 3077c43..f7126bc 100755 --- a/scripts/generate_translation.py +++ b/scripts/generate_translation.py @@ -100,17 +100,47 @@ TUMBLE_DRYER_DRY_LEVEL = { 15: "WASHING_CMD&CTRL.GUIDED_WASHING_SYMBOLS_DRYING.EXTRA_DRY_TITLE", } +AC_MACH_MODE = { + 0: "PROGRAMS.AC.IOT_AUTO", + 1: "PROGRAMS.AC.IOT_COOL", + 2: "PROGRAMS.AC.IOT_COOL", + 3: "PROGRAMS.AC.IOT_DRY", + 4: "PROGRAMS.AC.IOT_HEAT", + 5: "PROGRAMS.AC.IOT_FAN", + 6: "PROGRAMS.AC.IOT_FAN", +} + +AC_FAN_MODE = { + 1: "AC.PROGRAM_CARD.WIND_SPEED_HIGH", + 2: "AC.PROGRAM_CARD.WIND_SPEED_MID", + 3: "AC.PROGRAM_CARD.WIND_SPEED_LOW", + 4: "AC.PROGRAM_CARD.WIND_SPEED_AUTO", + 5: "AC.PROGRAM_CARD.WIND_SPEED_AUTO", +} + +AC_HUMAN_SENSE = { + 0: "AC.PROGRAM_DETAIL.TOUCH_OFF", + 1: "AC.PROGRAM_DETAIL.AVOID_TOUCH", + 2: "AC.PROGRAM_DETAIL.FOLLOW_TOUCH", +} + SENSOR = { "washing_modes": MACH_MODE, + "mach_modes_ac": AC_MACH_MODE, "program_phases_wm": WASHING_PR_PHASE, "program_phases_td": TUMBLE_DRYER_PR_PHASE, "program_phases_dw": DISHWASHER_PR_PHASE, "dry_levels": TUMBLE_DRYER_DRY_LEVEL, } -SELECT = {"dry_levels": TUMBLE_DRYER_DRY_LEVEL} +SELECT = { + "dry_levels": TUMBLE_DRYER_DRY_LEVEL, + "eco_pilot": AC_HUMAN_SENSE, + "fan_mode": AC_FAN_MODE, +} PROGRAMS = { + "programs_ac": "PROGRAMS.AC", "programs_dw": "PROGRAMS.DW", "programs_ih": "PROGRAMS.IH", "programs_ov": "PROGRAMS.OV", @@ -137,6 +167,13 @@ NAMES = { "pause": "GENERAL.PAUSE_PROGRAM", "keep_fresh": "GLOBALS.APPLIANCE_STATUS.TUMBLING", "delay_time": "HINTS.TIPS_TIME_ENERGY_SAVING.TIPS_USE_AT_NIGHT_TITLE", + "rapid_mode": "AC.PROGRAM_CARD.RAPID", + "eco_mode": "AC.PROGRAM_CARD.ECO_MODE", + "10_degree_heating": "PROGRAMS.AC.IOT_10_HEATING", + "self_clean": "PROGRAMS.AC.IOT_SELF_CLEAN", + "self_clean_56": "PROGRAMS.AC.IOT_SELF_CLEAN_56", + "silent_mode": "AC.PROGRAM_DETAIL.SILENT_MODE", + "mute_mode": "AC.PROGRAM_DETAIL.MUTE_MODE", }, "binary_sensor": { "door_lock": "WASHING_CMD&CTRL.CHECK_UP_RESULTS.DOOR_LOCK", @@ -171,6 +208,7 @@ NAMES = { "programs_ov": "WC.SET_PROGRAM.PROGRAM", "programs_td": "WC.SET_PROGRAM.PROGRAM", "programs_wm": "WC.SET_PROGRAM.PROGRAM", + "eco_pilot": "AC.PROGRAM_DETAIL.ECO_PILOT", }, "sensor": { "dry_levels": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_LEVEL",