disaplay state and hvac action

This commit is contained in:
Johannes
2022-05-28 10:23:14 +02:00
parent 0942d6c744
commit 60340123ce
2 changed files with 115 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ translations = {
'af': { 'af': {
'ACTIVATE': "Aktiveer", 'ACTIVATE': "Aktiveer",
'aux_heat': "Aanvullende hitte", 'aux_heat': "Aanvullende hitte",
'away_mode': "Wegmodus",
'cooling': "Koel Af", 'cooling': "Koel Af",
'drying': "Droog Uit", 'drying': "Droog Uit",
'fan': "Waaier", 'fan': "Waaier",
@@ -23,10 +24,12 @@ translations = {
'state': "Toestand", 'state': "Toestand",
'currently': "Tans", 'currently': "Tans",
'operation': "Operasie", 'operation': "Operasie",
'fan_mode': "Waaier modus",
}, },
'ar': { 'ar': {
'ACTIVATE': "تفعيل", 'ACTIVATE': "تفعيل",
'aux_heat': "حرارة Aux", 'aux_heat': "حرارة Aux",
'away_mode': "خارج المنزل",
'cooling': "تبريد", 'cooling': "تبريد",
'drying': "تجفيف", 'drying': "تجفيف",
'fan': "مروحة", 'fan': "مروحة",
@@ -48,10 +51,13 @@ translations = {
'state': "الحالة", 'state': "الحالة",
'currently': "حاليا", 'currently': "حاليا",
'operation': "الوضع", 'operation': "الوضع",
'fan_mode': "وضع المروحة",
'heating': "إعادة تكوين الجهاز",
}, },
'bg': { 'bg': {
'ACTIVATE': "Активирай", 'ACTIVATE': "Активирай",
'aux_heat': "Помощен нагревател", 'aux_heat': "Помощен нагревател",
'away_mode': "Режим на отсъствие",
'cooling': "Охлаждане", 'cooling': "Охлаждане",
'drying': "Изсушаване", 'drying': "Изсушаване",
'fan': "Вентилатор", 'fan': "Вентилатор",
@@ -74,11 +80,14 @@ translations = {
'state': "Състояние", 'state': "Състояние",
'currently': "В момента", 'currently': "В момента",
'operation': "Режим", 'operation': "Режим",
'fan_mode': "Режим на вентилатора",
'heating': "Преконфигуриране на устройство",
}, },
'ca': { 'ca': {
'PRESS': "Prem", 'PRESS': "Prem",
'ACTIVATE': "Activar", 'ACTIVATE': "Activar",
'aux_heat': "Calefactor auxiliar", 'aux_heat': "Calefactor auxiliar",
'away_mode': "Mode absent",
'cooling': "Refredant", 'cooling': "Refredant",
'drying': "Assecant", 'drying': "Assecant",
'fan': "Ventilació", 'fan': "Ventilació",
@@ -101,11 +110,14 @@ translations = {
'state': "Estat", 'state': "Estat",
'currently': "Actual", 'currently': "Actual",
'operation': "Funcionament", 'operation': "Funcionament",
'fan_mode': "Velocitat ventilador",
'heating': "S'està reconfigurant el dispositiu",
}, },
'cs': { 'cs': {
'PRESS': "Stisknutí", 'PRESS': "Stisknutí",
'ACTIVATE': "Aktivovat", 'ACTIVATE': "Aktivovat",
'aux_heat': "Pomocné teplo", 'aux_heat': "Pomocné teplo",
'away_mode': "Úsporný režim",
'cooling': "Chlazení", 'cooling': "Chlazení",
'drying': "Sušení", 'drying': "Sušení",
'fan': "Ventilátor", 'fan': "Ventilátor",
@@ -128,11 +140,14 @@ translations = {
'state': "Stav", 'state': "Stav",
'currently': "Aktuálně", 'currently': "Aktuálně",
'operation': "Provoz", 'operation': "Provoz",
'fan_mode': "Režim ventilátoru",
'heating': "Znovunastavení zařízení",
}, },
'da': { 'da': {
'PRESS': "Tryk", 'PRESS': "Tryk",
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
'aux_heat': "Støtte-varme", 'aux_heat': "Støtte-varme",
'away_mode': "Ude af huset-modus",
'cooling': "Køling", 'cooling': "Køling",
'drying': "Tørring", 'drying': "Tørring",
'fan': "Blæser", 'fan': "Blæser",
@@ -155,11 +170,14 @@ translations = {
'state': "Tilstand", 'state': "Tilstand",
'currently': "Aktuelt", 'currently': "Aktuelt",
'operation': "Drifttype", 'operation': "Drifttype",
'fan_mode': "Blæsertilstand",
'heating': "Omkonfigurering af enhed",
}, },
'de': { 'de': {
'PRESS': "Drücken", 'PRESS': "Drücken",
'ACTIVATE': "Aktivieren", 'ACTIVATE': "Aktivieren",
'aux_heat': "Hilfswärme", 'aux_heat': "Hilfswärme",
'away_mode': "Abwesenheitsmodus",
'cooling': "Kühlung", 'cooling': "Kühlung",
'drying': "Trocknen", 'drying': "Trocknen",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -182,11 +200,14 @@ translations = {
'state': "Zustand", 'state': "Zustand",
'currently': "Aktuell", 'currently': "Aktuell",
'operation': "Aktion", 'operation': "Aktion",
'fan_mode': "Ventilator-Modus",
'heating': "Gerät neu konfigurieren",
}, },
'el': { 'el': {
'PRESS': "Πατήστε", 'PRESS': "Πατήστε",
'ACTIVATE': "Ενεργοποίηση", 'ACTIVATE': "Ενεργοποίηση",
'aux_heat': "Βοηθητική θέρμανση", 'aux_heat': "Βοηθητική θέρμανση",
'away_mode': "Λειτουργία εκτός σπιτιού",
'cooling': "Ψύξη", 'cooling': "Ψύξη",
'drying': "Αφύγρανση", 'drying': "Αφύγρανση",
'fan': "Ανεμιστήρας", 'fan': "Ανεμιστήρας",
@@ -209,11 +230,14 @@ translations = {
'state': "Κατάσταση", 'state': "Κατάσταση",
'currently': "Αυτή τη στιγμή", 'currently': "Αυτή τη στιγμή",
'operation': "Λειτουργία", 'operation': "Λειτουργία",
'fan_mode': "Λειτουργία ανεμιστήρα",
'heating': "Επαναδιαμόρφωση της συσκευής",
}, },
'en': { 'en': {
'PRESS': "Press", 'PRESS': "Press",
'ACTIVATE': "Activate", 'ACTIVATE': "Activate",
'aux_heat': "Aux heat", 'aux_heat': "Aux heat",
'away_mode': "Away mode",
'cooling': "Cooling", 'cooling': "Cooling",
'drying': "Drying", 'drying': "Drying",
'fan': "Fan", 'fan': "Fan",
@@ -236,11 +260,14 @@ translations = {
'state': "State", 'state': "State",
'currently': "Currently", 'currently': "Currently",
'operation': "Operation", 'operation': "Operation",
'fan_mode': "Fan mode",
'heating': "Reconfiguring device",
}, },
'es': { 'es': {
'PRESS': "Pulsa", 'PRESS': "Pulsa",
'ACTIVATE': "Activar", 'ACTIVATE': "Activar",
'aux_heat': "Calor auxiliar", 'aux_heat': "Calor auxiliar",
'away_mode': "Fuera de casa",
'cooling': "Enfriando", 'cooling': "Enfriando",
'drying': "Secando", 'drying': "Secando",
'fan': "Ventilador", 'fan': "Ventilador",
@@ -263,11 +290,14 @@ translations = {
'state': "Estado", 'state': "Estado",
'currently': "Actualmente", 'currently': "Actualmente",
'operation': "Modo", 'operation': "Modo",
'fan_mode': "Modo del ventilador",
'heating': "Reconfigurando el dispositivo",
}, },
'et': { 'et': {
'PRESS': "Vajuta nuppu", 'PRESS': "Vajuta nuppu",
'ACTIVATE': "Aktiveeri", 'ACTIVATE': "Aktiveeri",
'aux_heat': "Abiküte", 'aux_heat': "Abiküte",
'away_mode': "Eemal",
'cooling': "Jahutamine", 'cooling': "Jahutamine",
'drying': "Kuivatamine", 'drying': "Kuivatamine",
'fan': "Ventilaator", 'fan': "Ventilaator",
@@ -290,10 +320,13 @@ translations = {
'state': "Olek", 'state': "Olek",
'currently': "Hetkel", 'currently': "Hetkel",
'operation': "Töörežiim", 'operation': "Töörežiim",
'fan_mode': "Ventilaatori režiim",
'heating': "Seadme sätete muutmine",
}, },
'fa': { 'fa': {
'ACTIVATE': "فعال سازی", 'ACTIVATE': "فعال سازی",
'aux_heat': "Aux گرما", 'aux_heat': "Aux گرما",
'away_mode': "حالت بیرون",
'cooling': "خنک کننده", 'cooling': "خنک کننده",
'drying': "خشك كردن", 'drying': "خشك كردن",
'fan': "فن", 'fan': "فن",
@@ -315,11 +348,14 @@ translations = {
'state': "حالت", 'state': "حالت",
'currently': "در حال حاضر", 'currently': "در حال حاضر",
'operation': "عملیات", 'operation': "عملیات",
'fan_mode': "حالت فن",
'heating': "پیکربندی مجدد دستگاه",
}, },
'fi': { 'fi': {
'PRESS': "Paina", 'PRESS': "Paina",
'ACTIVATE': "Aktivoi", 'ACTIVATE': "Aktivoi",
'aux_heat': "Lisälämpö", 'aux_heat': "Lisälämpö",
'away_mode': "Poissa kotoa -tila",
'cooling': "Jäähdytys", 'cooling': "Jäähdytys",
'drying': "Kuivaus", 'drying': "Kuivaus",
'fan': "Tuuletin", 'fan': "Tuuletin",
@@ -342,11 +378,14 @@ translations = {
'state': "Tila", 'state': "Tila",
'currently': "Tällä hetkellä", 'currently': "Tällä hetkellä",
'operation': "Toiminto", 'operation': "Toiminto",
'fan_mode': "Tuuletustila",
'heating': "Laitetta konfiguroidaan uudelleen",
}, },
'fr': { 'fr': {
'PRESS': "Appui", 'PRESS': "Appui",
'ACTIVATE': "Activer", 'ACTIVATE': "Activer",
'aux_heat': "Chauffage d'appoint", 'aux_heat': "Chauffage d'appoint",
'away_mode': "Mode "Absent"",
'cooling': "Refroidissement", 'cooling': "Refroidissement",
'drying': "Séchage", 'drying': "Séchage",
'fan': "Ventilateur", 'fan': "Ventilateur",
@@ -369,11 +408,14 @@ translations = {
'state': "État", 'state': "État",
'currently': "Actuellement", 'currently': "Actuellement",
'operation': "Opération", 'operation': "Opération",
'fan_mode': "Mode de ventilation",
'heating': "Reconfigurer l'appareil",
}, },
'he': { 'he': {
'PRESS': "לחיצה", 'PRESS': "לחיצה",
'ACTIVATE': "הפעל", 'ACTIVATE': "הפעל",
'aux_heat': "מסייע חום", 'aux_heat': "מסייע חום",
'away_mode': "מצב לא בבית",
'cooling': "קירור", 'cooling': "קירור",
'drying': "מייבש", 'drying': "מייבש",
'fan': "מאוורר", 'fan': "מאוורר",
@@ -396,10 +438,13 @@ translations = {
'state': "מצב", 'state': "מצב",
'currently': "כעת", 'currently': "כעת",
'operation': "פעולה", 'operation': "פעולה",
'fan_mode': "מצב מאורר",
'heating': "קביעת תצורה מחדש של התקן",
}, },
'hr': { 'hr': {
'ACTIVATE': "Aktivirati", 'ACTIVATE': "Aktivirati",
'aux_heat': "Pomoćno grijanje", 'aux_heat': "Pomoćno grijanje",
'away_mode': "Način rada: Odsutan",
'cooling': "Hlađenje", 'cooling': "Hlađenje",
'drying': "Sušenje", 'drying': "Sušenje",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -421,11 +466,14 @@ translations = {
'state': "Stanje", 'state': "Stanje",
'currently': "Trenutno", 'currently': "Trenutno",
'operation': "operacija", 'operation': "operacija",
'fan_mode': "Način rada s ventilatorom",
'heating': "Ponovno učitavanje konfiguracije",
}, },
'hu': { 'hu': {
'PRESS': "Gombnyomás", 'PRESS': "Gombnyomás",
'ACTIVATE': "Aktiválás", 'ACTIVATE': "Aktiválás",
'aux_heat': "Külső hőforrás", 'aux_heat': "Külső hőforrás",
'away_mode': "Távol mód",
'cooling': "Hűtés", 'cooling': "Hűtés",
'drying': "Párátlanítás", 'drying': "Párátlanítás",
'fan': "Ventilátor", 'fan': "Ventilátor",
@@ -448,10 +496,13 @@ translations = {
'state': "Állapot", 'state': "Állapot",
'currently': "Jelenleg", 'currently': "Jelenleg",
'operation': "Működés", 'operation': "Működés",
'fan_mode': "Ventilátor",
'heating': "Eszköz újrakonfigurálása",
}, },
'hy': { 'hy': {
'ACTIVATE': "Ակտիվացնել", 'ACTIVATE': "Ակտիվացնել",
'aux_heat': "Aux ջերմությունը", 'aux_heat': "Aux ջերմությունը",
'away_mode': "հեռու ռեժիմ",
'cooling': "հովացում", 'cooling': "հովացում",
'drying': "Չորացում", 'drying': "Չորացում",
'fan': "Երկրպագու", 'fan': "Երկրպագու",
@@ -472,11 +523,14 @@ translations = {
'state': "Պետություն", 'state': "Պետություն",
'currently': "Ներկայումս", 'currently': "Ներկայումս",
'operation': "Գործողություն", 'operation': "Գործողություն",
'fan_mode': "Երկրպագուների ռեժիմ",
'heating': "Կարգավորման վերաբեռնում",
}, },
'id': { 'id': {
'PRESS': "Tekan", 'PRESS': "Tekan",
'ACTIVATE': "Aktifkan", 'ACTIVATE': "Aktifkan",
'aux_heat': "Pemanasan tambahan", 'aux_heat': "Pemanasan tambahan",
'away_mode': "Mode keluar rumah",
'cooling': "Mendinginkan", 'cooling': "Mendinginkan",
'drying': "Mengeringkan", 'drying': "Mengeringkan",
'fan': "Kipas", 'fan': "Kipas",
@@ -499,10 +553,13 @@ translations = {
'state': "Status", 'state': "Status",
'currently': "Saat ini", 'currently': "Saat ini",
'operation': "Operasi", 'operation': "Operasi",
'fan_mode': "Mode kipas",
'heating': "Mengonfigurasi ulang perangkat",
}, },
'is': { 'is': {
'PRESS': "Ýttu á", 'PRESS': "Ýttu á",
'ACTIVATE': "Virkja", 'ACTIVATE': "Virkja",
'away_mode': "Fjarverandi hamur",
'cooling': "Kæling", 'cooling': "Kæling",
'drying': "Þurrkun", 'drying': "Þurrkun",
'fan': "Vifta", 'fan': "Vifta",
@@ -525,11 +582,14 @@ translations = {
'state': "Staða", 'state': "Staða",
'currently': "Er núna", 'currently': "Er núna",
'operation': "Aðgerð", 'operation': "Aðgerð",
'fan_mode': "Viftuhamur",
'heating': "Endurhleðsla stillinga",
}, },
'it': { 'it': {
'PRESS': "Premi", 'PRESS': "Premi",
'ACTIVATE': "Attiva", 'ACTIVATE': "Attiva",
'aux_heat': "Riscaldamento ausiliario", 'aux_heat': "Riscaldamento ausiliario",
'away_mode': "Modalità assente",
'cooling': "Raffreddamento", 'cooling': "Raffreddamento",
'drying': "Deumidificazione", 'drying': "Deumidificazione",
'fan': "Ventilatore", 'fan': "Ventilatore",
@@ -552,10 +612,13 @@ translations = {
'state': "Stato", 'state': "Stato",
'currently': "Attualmente", 'currently': "Attualmente",
'operation': "Operazione", 'operation': "Operazione",
'fan_mode': "Ventilazione",
'heating': "Riconfigurazione del dispositivo",
}, },
'lb': { 'lb': {
'ACTIVATE': "Aktivéieren", 'ACTIVATE': "Aktivéieren",
'aux_heat': "Zousätzlech Heizung", 'aux_heat': "Zousätzlech Heizung",
'away_mode': "Modus Keen Doheem",
'cooling': "Ofkillen", 'cooling': "Ofkillen",
'drying': "Dréchnen", 'drying': "Dréchnen",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -577,9 +640,12 @@ translations = {
'state': "Zoustand", 'state': "Zoustand",
'currently': "Momentan", 'currently': "Momentan",
'operation': "Aktioun", 'operation': "Aktioun",
'fan_mode': "Ventilatioun Modus",
'heating': "Apparat frësch konfiguréieren",
}, },
'lt': { 'lt': {
'ACTIVATE': "Suaktyvinti", 'ACTIVATE': "Suaktyvinti",
'away_mode': "Išvykimo režimas",
'cooling': "Aušinimas", 'cooling': "Aušinimas",
'drying': "Džiovinimas", 'drying': "Džiovinimas",
'fan': "Ventiliatorius", 'fan': "Ventiliatorius",
@@ -601,10 +667,13 @@ translations = {
'state': "Būsena", 'state': "Būsena",
'currently': "Šiuo metu", 'currently': "Šiuo metu",
'operation': "Operacija", 'operation': "Operacija",
'fan_mode': "Ventiliatoriaus režimas",
'heating': "Serverio valdymas",
}, },
'lv': { 'lv': {
'ACTIVATE': "Aktivizēt", 'ACTIVATE': "Aktivizēt",
'aux_heat': "Ārējais sildītājs", 'aux_heat': "Ārējais sildītājs",
'away_mode': "Prombūtnes režīms",
'cooling': "Dzesēšana", 'cooling': "Dzesēšana",
'drying': "Žāvēšana", 'drying': "Žāvēšana",
'fan': "Ventilators", 'fan': "Ventilators",
@@ -625,11 +694,14 @@ translations = {
'state': "Stāvoklis", 'state': "Stāvoklis",
'currently': "Pašlaik", 'currently': "Pašlaik",
'operation': "Darbība", 'operation': "Darbība",
'fan_mode': "Ventilatora režīms",
'heating': "YAML konfigurācijas pārlādēšana",
}, },
'nb': { 'nb': {
'PRESS': "trykk", 'PRESS': "trykk",
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
'aux_heat': "Aux varme", 'aux_heat': "Aux varme",
'away_mode': "Bortemodus",
'cooling': "Kjøling", 'cooling': "Kjøling",
'drying': "Tørking", 'drying': "Tørking",
'fan': "Vifte", 'fan': "Vifte",
@@ -652,11 +724,14 @@ translations = {
'state': "Tilstand", 'state': "Tilstand",
'currently': "Er nå", 'currently': "Er nå",
'operation': "Operasjon", 'operation': "Operasjon",
'fan_mode': "Viftemodus",
'heating': "Konfigurerer enheten på nytt",
}, },
'nl': { 'nl': {
'PRESS': "Klik", 'PRESS': "Klik",
'ACTIVATE': "Activeren", 'ACTIVATE': "Activeren",
'aux_heat': "Extra warmte", 'aux_heat': "Extra warmte",
'away_mode': "Afwezigheidsmodus",
'cooling': "Koelen", 'cooling': "Koelen",
'drying': "Ontvochtigen", 'drying': "Ontvochtigen",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -679,10 +754,13 @@ translations = {
'state': "Staat", 'state': "Staat",
'currently': "Momenteel", 'currently': "Momenteel",
'operation': "Werking", 'operation': "Werking",
'fan_mode': "Ventilatormodus",
'heating': "Apparaat opnieuw configureren",
}, },
'nn': { 'nn': {
'ACTIVATE': "Aktiver", 'ACTIVATE': "Aktiver",
'aux_heat': "Aux-varme", 'aux_heat': "Aux-varme",
'away_mode': "Bortemodus",
'cooling': "Nedkjøling", 'cooling': "Nedkjøling",
'drying': "Tørkar", 'drying': "Tørkar",
'fan': "Vifte", 'fan': "Vifte",
@@ -705,11 +783,14 @@ translations = {
'state': "Tilstand", 'state': "Tilstand",
'currently': "Akkurat no", 'currently': "Akkurat no",
'operation': "Operasjon", 'operation': "Operasjon",
'fan_mode': "Viftemodus",
'heating': "Konfigurasjonsomlasting",
}, },
'pl': { 'pl': {
'PRESS': "Naciśnij", 'PRESS': "Naciśnij",
'ACTIVATE': "Aktywuj", 'ACTIVATE': "Aktywuj",
'aux_heat': "Zewnętrznie podłączone źródło", 'aux_heat': "Zewnętrznie podłączone źródło",
'away_mode': "Tryb poza domem",
'cooling': "chłodzenie", 'cooling': "chłodzenie",
'drying': "osuszanie", 'drying': "osuszanie",
'fan': "wentylator", 'fan': "wentylator",
@@ -732,11 +813,14 @@ translations = {
'state': "Stan", 'state': "Stan",
'currently': "Obecnie", 'currently': "Obecnie",
'operation': "Tryb pracy", 'operation': "Tryb pracy",
'fan_mode': "Tryb nawiewu",
'heating': "Ponowne konfigurowanie urządzenia",
}, },
'pt': { 'pt': {
'PRESS': "Pressione", 'PRESS': "Pressione",
'ACTIVATE': "Ativar", 'ACTIVATE': "Ativar",
'aux_heat': "Calor auxiliar", 'aux_heat': "Calor auxiliar",
'away_mode': "Modo ausente",
'cooling': "Resfriar", 'cooling': "Resfriar",
'drying': "Secagem", 'drying': "Secagem",
'fan': "Ventoinha", 'fan': "Ventoinha",
@@ -758,10 +842,13 @@ translations = {
'state': "Estado", 'state': "Estado",
'currently': "Atualmente", 'currently': "Atualmente",
'operation': "Operação", 'operation': "Operação",
'fan_mode': "Modo ventilar",
'heating': "Reconfigurar dispositivo",
}, },
'ro': { 'ro': {
'ACTIVATE': "Activați", 'ACTIVATE': "Activați",
'aux_heat': "Încălzire auxiliară", 'aux_heat': "Încălzire auxiliară",
'away_mode': "Mod plecat",
'cooling': "Racește", 'cooling': "Racește",
'drying': "Usucă", 'drying': "Usucă",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -784,11 +871,14 @@ translations = {
'state': "Status", 'state': "Status",
'currently': "În prezent", 'currently': "În prezent",
'operation': "Operație", 'operation': "Operație",
'fan_mode': "Mod ventilator",
'heating': "Reîncărcarea configurației YAML",
}, },
'ru': { 'ru': {
'PRESS': "Нажать", 'PRESS': "Нажать",
'ACTIVATE': "Активировать", 'ACTIVATE': "Активировать",
'aux_heat': "Дополнительный нагрев", 'aux_heat': "Дополнительный нагрев",
'away_mode': "Режим "не дома"",
'cooling': "Охлаждение", 'cooling': "Охлаждение",
'drying': "Осушение", 'drying': "Осушение",
'fan': "Вентиляция", 'fan': "Вентиляция",
@@ -811,10 +901,13 @@ translations = {
'state': "Состояние", 'state': "Состояние",
'currently': "Сейчас", 'currently': "Сейчас",
'operation': "Режим работы", 'operation': "Режим работы",
'fan_mode': "Режим вентиляции",
'heating': "Перенастройка устройства",
}, },
'sk': { 'sk': {
'ACTIVATE': "Aktivovať", 'ACTIVATE': "Aktivovať",
'aux_heat': "Prídavné kúrenie", 'aux_heat': "Prídavné kúrenie",
'away_mode': "Režim neprítomnosti",
'cooling': "Chladenie", 'cooling': "Chladenie",
'drying': "Sušenie", 'drying': "Sušenie",
'fan': "Ventilátor", 'fan': "Ventilátor",
@@ -837,11 +930,14 @@ translations = {
'state': "Stav", 'state': "Stav",
'currently': "Aktuálne", 'currently': "Aktuálne",
'operation': "Prevádzka", 'operation': "Prevádzka",
'fan_mode': "Režim ventilátora",
'heating': "Načítavanie novej konfigurácie",
}, },
'sl': { 'sl': {
'PRESS': "Pritisnite", 'PRESS': "Pritisnite",
'ACTIVATE': "Aktiviraj", 'ACTIVATE': "Aktiviraj",
'aux_heat': "Dodatna toplota", 'aux_heat': "Dodatna toplota",
'away_mode': "Način odsotnosti",
'cooling': "Hlajenje", 'cooling': "Hlajenje",
'drying': "Sušenje", 'drying': "Sušenje",
'fan': "Ventilator", 'fan': "Ventilator",
@@ -863,11 +959,14 @@ translations = {
'state': "Stanje", 'state': "Stanje",
'currently': "Trenutno", 'currently': "Trenutno",
'operation': "Delovanje", 'operation': "Delovanje",
'fan_mode': "Način ventilatorja",
'heating': "Ponovno konfiguriranje naprave",
}, },
'sv': { 'sv': {
'PRESS': "Tryck", 'PRESS': "Tryck",
'ACTIVATE': "Aktivera", 'ACTIVATE': "Aktivera",
'aux_heat': "Underhållsvärme", 'aux_heat': "Underhållsvärme",
'away_mode': "Bortaläge",
'cooling': "Kyler", 'cooling': "Kyler",
'drying': "Avfuktar", 'drying': "Avfuktar",
'fan': "Fläkt", 'fan': "Fläkt",
@@ -890,11 +989,14 @@ translations = {
'state': "Tillstånd", 'state': "Tillstånd",
'currently': "Nuvarande", 'currently': "Nuvarande",
'operation': "Driftläge", 'operation': "Driftläge",
'fan_mode': "Fläktläge",
'heating': "Konfigurerar om enheten",
}, },
'th': { 'th': {
'PRESS': "กด", 'PRESS': "กด",
'ACTIVATE': "กระตุ้น", 'ACTIVATE': "กระตุ้น",
'aux_heat': "ความร้อน Aux", 'aux_heat': "ความร้อน Aux",
'away_mode': "โหมดไม่อยู่บ้าน",
'cooling': "โหมดเย็น", 'cooling': "โหมดเย็น",
'drying': "โหมดแห้ง", 'drying': "โหมดแห้ง",
'fan': "พัดลม", 'fan': "พัดลม",
@@ -915,11 +1017,14 @@ translations = {
'state': "สถานะ", 'state': "สถานะ",
'currently': "ในขณะนี้", 'currently': "ในขณะนี้",
'operation': "การทำงาน", 'operation': "การทำงาน",
'fan_mode': "โหมดของพัดลม",
'heating': "โหลดการกำหนดค่า YAML อีกครั้ง",
}, },
'tr': { 'tr': {
'PRESS': "Basınız", 'PRESS': "Basınız",
'ACTIVATE': "Etkinleştir", 'ACTIVATE': "Etkinleştir",
'aux_heat': "Yardımcı ısı", 'aux_heat': "Yardımcı ısı",
'away_mode': "Dışarıda modu",
'cooling': "Soğutma", 'cooling': "Soğutma",
'drying': "Kurutma", 'drying': "Kurutma",
'fan': "Fan", 'fan': "Fan",
@@ -942,11 +1047,14 @@ translations = {
'state': "Durum", 'state': "Durum",
'currently': "Şu an", 'currently': "Şu an",
'operation': "İşlem", 'operation': "İşlem",
'fan_mode': "Fan modu",
'heating': "Cihazı yeniden yapılandırma",
}, },
'uk': { 'uk': {
'PRESS': "Натисніть", 'PRESS': "Натисніть",
'ACTIVATE': "Активувати", 'ACTIVATE': "Активувати",
'aux_heat': "Додатковий нагрів", 'aux_heat': "Додатковий нагрів",
'away_mode': "Режим "Не вдома"",
'cooling': "Охолодження", 'cooling': "Охолодження",
'drying': "Осушення", 'drying': "Осушення",
'fan': "Вентилятор", 'fan': "Вентилятор",
@@ -968,10 +1076,13 @@ translations = {
'state': "Статус", 'state': "Статус",
'currently': "В даний час", 'currently': "В даний час",
'operation': "Режим", 'operation': "Режим",
'fan_mode': "Режим вентиляції",
'heating': "Переналаштування пристрою",
}, },
'vi': { 'vi': {
'ACTIVATE': "Kích hoạt", 'ACTIVATE': "Kích hoạt",
'aux_heat': "Nhiệt phụ trợ", 'aux_heat': "Nhiệt phụ trợ",
'away_mode': "Chế độ đi vắng",
'cooling': "Làm mát", 'cooling': "Làm mát",
'drying': "Làm khô", 'drying': "Làm khô",
'fan': "Quạt", 'fan': "Quạt",
@@ -993,6 +1104,8 @@ translations = {
'state': "Trạng thái", 'state': "Trạng thái",
'currently': "Hiện tại", 'currently': "Hiện tại",
'operation': "Chế độ hoạt động", 'operation': "Chế độ hoạt động",
'fan_mode': "Chế độ quạt",
'heating': "Đang tải lại cấu hình YAML",
}, },
} }

View File

@@ -281,7 +281,7 @@ class LuiPagesGen(object):
current_temp = get_attr_safe(entity, "current_temperature", "") current_temp = get_attr_safe(entity, "current_temperature", "")
dest_temp = int(get_attr_safe(entity, "temperature", 0)*10) dest_temp = int(get_attr_safe(entity, "temperature", 0)*10)
status = get_attr_safe(entity, "hvac_action", "") status = get_attr_safe(entity, "hvac_action", "")
status = get_translation(self._locale,status) state_value = f"{get_translation(self._locale,status)} ({get_translation(self._locale,entity.state)})"
min_temp = int(get_attr_safe(entity, "min_temp", 0)*10) min_temp = int(get_attr_safe(entity, "min_temp", 0)*10)
max_temp = int(get_attr_safe(entity, "max_temp", 0)*10) max_temp = int(get_attr_safe(entity, "max_temp", 0)*10)
step_temp = int(get_attr_safe(entity, "target_temp_step", 0.5)*10) step_temp = int(get_attr_safe(entity, "target_temp_step", 0.5)*10)
@@ -321,7 +321,7 @@ class LuiPagesGen(object):
state_translation = get_translation(self._locale, "state") state_translation = get_translation(self._locale, "state")
action_translation = get_translation(self._locale, "operation") action_translation = get_translation(self._locale, "operation")
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}" command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{state_value}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}"
self._send_mqtt_msg(command) self._send_mqtt_msg(command)
def generate_media_page(self, navigation, title, entity): def generate_media_page(self, navigation, title, entity):