Add more fridge sensor #41

This commit is contained in:
Andre Basche 2023-05-15 00:38:41 +02:00
parent 9a65eaba77
commit 604cf1b3c6
23 changed files with 540 additions and 0 deletions

View file

@ -258,12 +258,20 @@ For every device exists a hidden button which can be used to log all infos of yo
#### Configs
| Name | Icon | Entity | Key |
| --- | --- | --- | --- |
| Freezer Temperature | `thermometer` | `number` | `settings.tempSelZ2` |
| Fridge Temperature | `thermometer` | `number` | `settings.tempSelZ1` |
| Program | | `select` | `startProgram.program` |
#### Sensors
| Name | Icon | Entity | Key |
| --- | --- | --- | --- |
| Auto-Set Mode | `robot-outline` | `binary_sensor` | `intelligenceMode` |
| Door Status Freezer | `fridge-top` | `binary_sensor` | `doorStatusZ1` |
| Door Status Fridge | `fridge-bottom` | `binary_sensor` | `door2StatusZ1` |
| Holiday Mode | `palm-tree` | `binary_sensor` | `holidayMode` |
| Room Humidity | `water-percent` | `sensor` | `humidityEnv` |
| Room Temperature | `thermometer` | `sensor` | `tempEnv` |
| Super Cool | `snowflake` | `binary_sensor` | `quickModeZ2` |
| Super Freeze | `snowflake-variant` | `binary_sensor` | `quickModeZ1` |
### Tumble dryer
#### Controls

View file

@ -179,6 +179,56 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
translation_key="door_open",
),
),
"REF": (
HonBinarySensorEntityDescription(
key="quickModeZ2",
name="Super Cool",
icon="mdi:snowflake",
device_class=BinarySensorDeviceClass.RUNNING,
on_value="1",
translation_key="super_cool",
),
HonBinarySensorEntityDescription(
key="quickModeZ1",
name="Super Freeze",
icon="mdi:snowflake-variant",
device_class=BinarySensorDeviceClass.RUNNING,
on_value="1",
translation_key="super_freeze",
),
HonBinarySensorEntityDescription(
key="doorStatusZ1",
name="Door Status Freezer",
device_class=BinarySensorDeviceClass.DOOR,
icon="mdi:fridge-top",
on_value="1",
translation_key="freezer_door",
),
HonBinarySensorEntityDescription(
key="door2StatusZ1",
name="Door Status Fridge",
icon="mdi:fridge-bottom",
device_class=BinarySensorDeviceClass.DOOR,
on_value="1",
translation_key="fridge_door",
),
HonBinarySensorEntityDescription(
key="intelligenceMode",
name="Auto-Set Mode",
icon="mdi:robot-outline",
device_class=BinarySensorDeviceClass.RUNNING,
on_value="1",
translation_key="auto_set",
),
HonBinarySensorEntityDescription(
key="holidayMode",
name="Holiday Mode",
icon="mdi:palm-tree",
device_class=BinarySensorDeviceClass.RUNNING,
on_value="1",
translation_key="holiday_mode",
),
),
}

View file

@ -153,6 +153,24 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
translation_key="target_temperature",
),
),
"REF": (
NumberEntityDescription(
key="settings.tempSelZ1",
name="Fridge Temperature",
entity_category=EntityCategory.CONFIG,
icon="mdi:thermometer",
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
translation_key="fridge_temp_sel",
),
NumberEntityDescription(
key="settings.tempSelZ2",
name="Freezer Temperature",
entity_category=EntityCategory.CONFIG,
icon="mdi:thermometer",
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
translation_key="freezer_temp_sel",
),
),
}
NUMBERS["WD"] = unique_entities(NUMBERS["WM"], NUMBERS["TD"])

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Zvuková signalizace konce cyklu"
},
"holiday_mode": {
"name": "Režim Holiday"
},
"auto_set": {
"name": "Automatické nastavení"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Otevřená dvířka Mraznička"
},
"fridge_door": {
"name": "Otevřená dvířka Chladnička"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Úroveň páry"
},
"freezer_temp_sel": {
"name": "Cílová teplota Mraznička"
},
"fridge_temp_sel": {
"name": "Cílová teplota Chladnička"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Signalton zum Programmende"
},
"holiday_mode": {
"name": "Holiday-Modus"
},
"auto_set": {
"name": "Auto-Set"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Tür offen Gefrierschrank"
},
"fridge_door": {
"name": "Tür offen Kühlschrank"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Dampfstufe"
},
"freezer_temp_sel": {
"name": "Zieltemperatur Gefrierschrank"
},
"fridge_temp_sel": {
"name": "Zieltemperatur Kühlschrank"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Κουδούνισμα τέλους κύκλου"
},
"holiday_mode": {
"name": "Λειτουργια Holiday"
},
"auto_set": {
"name": "Αυτόματη ρύθμιση"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Πόρτα ανοιχτή Καταψύκτης"
},
"fridge_door": {
"name": "Πόρτα ανοιχτή Ψυγείο"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Επίπεδο ατμού"
},
"freezer_temp_sel": {
"name": "Στοχευμένη θερμοκρασία Καταψύκτης"
},
"fridge_temp_sel": {
"name": "Στοχευμένη θερμοκρασία Ψυγείο"
}
},
"button": {

View file

@ -1290,6 +1290,24 @@
},
"buzzer": {
"name": "Cycle end chime"
},
"holiday_mode": {
"name": "Holiday Mode"
},
"auto_set": {
"name": "Auto-Set"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Door open Freezer"
},
"fridge_door": {
"name": "Door open Fridge"
}
},
"number": {
@ -1322,6 +1340,12 @@
},
"steam_level": {
"name": "Steam Level"
},
"freezer_temp_sel": {
"name": "Target temperature Freezer"
},
"fridge_temp_sel": {
"name": "Target temperature Fridge"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Campana de fin de ciclo"
},
"holiday_mode": {
"name": "Modo Holiday"
},
"auto_set": {
"name": "Auto-Set"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Puerta abierta Congelador"
},
"fridge_door": {
"name": "Puerta abierta Frigorífico"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Nivel de vapor"
},
"freezer_temp_sel": {
"name": "Temperatura deseada Congelador"
},
"fridge_temp_sel": {
"name": "Temperatura deseada Frigorífico"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Sonnerie de fin de cycle"
},
"holiday_mode": {
"name": "Mode Holiday"
},
"auto_set": {
"name": "Réglage automatique"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Porte ouverte Congélateur"
},
"fridge_door": {
"name": "Porte ouverte Réfrigérateur"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Niveau de vapeur"
},
"freezer_temp_sel": {
"name": "Température cible Congélateur"
},
"fridge_temp_sel": {
"name": "Température cible Réfrigérateur"
}
},
"button": {

View file

@ -675,6 +675,24 @@
},
"buzzer": {
"name": "Cycle end chime"
},
"holiday_mode": {
"name": "Holiday Mode"
},
"auto_set": {
"name": "Auto-Set"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Door open Freezer"
},
"fridge_door": {
"name": "Door open Fridge"
}
},
"number": {
@ -707,6 +725,12 @@
},
"steam_level": {
"name": "מפלס קיטור"
},
"freezer_temp_sel": {
"name": "Target temperature Freezer"
},
"fridge_temp_sel": {
"name": "Target temperature Fridge"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Zvono za završetak ciklusa"
},
"holiday_mode": {
"name": "Način rada Holiday"
},
"auto_set": {
"name": "Automatsko postavljanje"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Otvorena vrata Zamrzivač"
},
"fridge_door": {
"name": "Otvorena vrata Hladnjak"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Razina pare"
},
"freezer_temp_sel": {
"name": "Ciljana temperatura Zamrzivač"
},
"fridge_temp_sel": {
"name": "Ciljana temperatura Hladnjak"
}
},
"button": {

View file

@ -1274,6 +1274,24 @@
},
"buzzer": {
"name": "Avviso di fine ciclo"
},
"holiday_mode": {
"name": "Modalità Holiday"
},
"auto_set": {
"name": "Impostazione automatica"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Porta aperta Congelatore"
},
"fridge_door": {
"name": "Porta aperta Frigorifero"
}
},
"number": {
@ -1306,6 +1324,12 @@
},
"steam_level": {
"name": "Livello vapore"
},
"freezer_temp_sel": {
"name": "Temperatura target Congelatore"
},
"fridge_temp_sel": {
"name": "Temperatura target Frigorifero"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Bel voor einde cyclus"
},
"holiday_mode": {
"name": "Holiday-modus (Vakantie)"
},
"auto_set": {
"name": "Automatisch instellen"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Deur open Vriezer"
},
"fridge_door": {
"name": "Deur open Koelkast"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Stoomniveau"
},
"freezer_temp_sel": {
"name": "Doeltemperatuur Vriezer"
},
"fridge_temp_sel": {
"name": "Doeltemperatuur Koelkast"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Sygnał dźwiękowy końca cyklu"
},
"holiday_mode": {
"name": "Tryb Holiday"
},
"auto_set": {
"name": "Ustawianie automatyczne"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Drzwi otwarte Zamrażarka"
},
"fridge_door": {
"name": "Drzwi otwarte Lodówka"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Poziom pary"
},
"freezer_temp_sel": {
"name": "Temperatura docelowa Zamrażarka"
},
"fridge_temp_sel": {
"name": "Temperatura docelowa Lodówka"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Besouro de fim de ciclo"
},
"holiday_mode": {
"name": "Modo Holiday"
},
"auto_set": {
"name": "Ajuste automático"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Porta aberta Congelador"
},
"fridge_door": {
"name": "Porta aberta Frigorífico"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Nível de vapor"
},
"freezer_temp_sel": {
"name": "Temperatura alvo Congelador"
},
"fridge_temp_sel": {
"name": "Temperatura alvo Frigorífico"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Sonerie la finalul ciclului"
},
"holiday_mode": {
"name": "Mod Holiday"
},
"auto_set": {
"name": "Setare automată"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Ușă deschisă Congelator"
},
"fridge_door": {
"name": "Ușă deschisă Frigider"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Nivel abur"
},
"freezer_temp_sel": {
"name": "Temperatură vizată Congelator"
},
"fridge_temp_sel": {
"name": "Temperatură vizată Frigider"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Звуковой сигнал окончания цикла"
},
"holiday_mode": {
"name": "Режим Holiday (режим отпуска)"
},
"auto_set": {
"name": "Автоматическая установка"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Дверца открыта Морозильник"
},
"fridge_door": {
"name": "Дверца открыта Холодильник"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Уровень пара"
},
"freezer_temp_sel": {
"name": "Заданная температура Морозильник"
},
"fridge_temp_sel": {
"name": "Заданная температура Холодильник"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Signál na konci cyklu"
},
"holiday_mode": {
"name": "Režim Holiday"
},
"auto_set": {
"name": "Automatické nastavenie"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Otvorené dvere Mraznička"
},
"fridge_door": {
"name": "Otvorené dvere Chladnička"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Úroveň nastavenia pary"
},
"freezer_temp_sel": {
"name": "Cieľová teplota Mraznička"
},
"fridge_temp_sel": {
"name": "Cieľová teplota Chladnička"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Zvočni signal ob koncu cikla"
},
"holiday_mode": {
"name": "Način Holiday"
},
"auto_set": {
"name": "Samodejna nastavitev"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Door open Zamrzovalnik"
},
"fridge_door": {
"name": "Door open Hladilnik"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Količina pare"
},
"freezer_temp_sel": {
"name": "Ciljna temperatura Zamrzovalnik"
},
"fridge_temp_sel": {
"name": "Ciljna temperatura Hladilnik"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Zvono na kraju ciklusa"
},
"holiday_mode": {
"name": "Režim Holiday"
},
"auto_set": {
"name": "Automatsko podešavanje"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Vrata su otvorena Zamrzivač"
},
"fridge_door": {
"name": "Vrata su otvorena Frižider"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Nivo pare"
},
"freezer_temp_sel": {
"name": "Željena temperatura Zamrzivač"
},
"fridge_temp_sel": {
"name": "Željena temperatura Frižider"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "Program sonu zili"
},
"holiday_mode": {
"name": "Holiday Modu"
},
"auto_set": {
"name": "Otomatik Ayarla"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "Kapıık Dondurucu"
},
"fridge_door": {
"name": "Kapıık Buzdolabı"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "Buhar Seviyesi"
},
"freezer_temp_sel": {
"name": "Hedef sıcaklık Dondurucu"
},
"fridge_temp_sel": {
"name": "Hedef sıcaklık Buzdolabı"
}
},
"button": {

View file

@ -1222,6 +1222,24 @@
},
"buzzer": {
"name": "循环结束提示音"
},
"holiday_mode": {
"name": "Holiday 模式"
},
"auto_set": {
"name": "自动设置"
},
"super_cool": {
"name": "Super Cool"
},
"super_freeze": {
"name": "Super Freeze"
},
"freezer_door": {
"name": "门打开 冷藏箱"
},
"fridge_door": {
"name": "门打开 冰箱"
}
},
"number": {
@ -1254,6 +1272,12 @@
},
"steam_level": {
"name": "蒸汽档位"
},
"freezer_temp_sel": {
"name": "目标温度 冷藏箱"
},
"fridge_temp_sel": {
"name": "目标温度 冰箱"
}
},
"button": {

View file

@ -103,6 +103,12 @@ NAMES = {
"on": "GLOBALS.GENERAL.ON",
"prewash": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_OTHER_OPTIONS.PREWASH",
"buzzer": "DW_CMD&CTRL.SETTINGS.END_CYCLE_BUZZER",
"holiday_mode": "REF.DASHBOARD_MENU_MORE_NOTIFICATIONS.HOLIDAY_MODE",
"auto_set": "REF_CMD&CTRL.MODALITIES.ECO",
"super_cool": "REF_CMD&CTRL.MODALITIES.SUPER_COOL",
"super_freeze": "REF_CMD&CTRL.MODALITIES.SUPER_FREEZE",
"freezer_door": ["GLOBALS.APPLIANCE_STATUS.DOOR_OPEN", "REF.ZONES.FREEZER"],
"fridge_door": ["GLOBALS.APPLIANCE_STATUS.DOOR_OPEN", "REF.ZONES.FRIDGE"],
},
"button": {
"induction_hob": "GLOBALS.APPLIANCES_NAME.IH",
@ -177,6 +183,8 @@ NAMES = {
"wash_time": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL.WASHING_TIME",
"dry_time": "WASHING_CMD&CTRL.DRAWER_CYCLE_DRYING.TAB_TIME",
"steam_level": "WASHING_CMD&CTRL.PROGRAM_CYCLE_DETAIL_MAIN_OPTIONS.STEAM_LEVEL",
"freezer_temp_sel": ["OV.COMMON.GOAL_TEMPERATURE", "REF.ZONES.FREEZER"],
"fridge_temp_sel": ["OV.COMMON.GOAL_TEMPERATURE", "REF.ZONES.FRIDGE"],
},
"climate": {"air_conditioner": "GLOBALS.APPLIANCES_NAME.AC"},
}