From e02abc6ddf487640d893b38379c974f39d38decf Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Thu, 30 Jul 2026 02:35:11 +0000 Subject: [PATCH] 18 files --- .../presence_simulation/icons.json | 7 +++ .../presence_simulation/manifest.json | 13 ++++++ .../presence_simulation/services.yaml | 45 +++++++++++++++++++ .../presence_simulation/strings.json | 42 +++++++++++++++++ .../presence_simulation/translations/ca.json | 41 +++++++++++++++++ .../presence_simulation/translations/cs.json | 41 +++++++++++++++++ .../presence_simulation/translations/da.json | 41 +++++++++++++++++ .../presence_simulation/translations/de.json | 43 ++++++++++++++++++ .../translations/en-GB.json | 43 ++++++++++++++++++ .../presence_simulation/translations/en.json | 43 ++++++++++++++++++ .../presence_simulation/translations/es.json | 41 +++++++++++++++++ .../presence_simulation/translations/fr.json | 43 ++++++++++++++++++ .../presence_simulation/translations/it.json | 41 +++++++++++++++++ .../presence_simulation/translations/nl.json | 41 +++++++++++++++++ .../presence_simulation/translations/pl.json | 41 +++++++++++++++++ .../presence_simulation/translations/sk.json | 43 ++++++++++++++++++ .../presence_simulation/translations/sv.json | 41 +++++++++++++++++ .../presence_simulation/translations/uk.json | 41 +++++++++++++++++ 18 files changed, 691 insertions(+) create mode 100644 custom_components/presence_simulation/icons.json create mode 100644 custom_components/presence_simulation/manifest.json create mode 100644 custom_components/presence_simulation/services.yaml create mode 100644 custom_components/presence_simulation/strings.json create mode 100644 custom_components/presence_simulation/translations/ca.json create mode 100644 custom_components/presence_simulation/translations/cs.json create mode 100644 custom_components/presence_simulation/translations/da.json create mode 100644 custom_components/presence_simulation/translations/de.json create mode 100644 custom_components/presence_simulation/translations/en-GB.json create mode 100644 custom_components/presence_simulation/translations/en.json create mode 100644 custom_components/presence_simulation/translations/es.json create mode 100644 custom_components/presence_simulation/translations/fr.json create mode 100644 custom_components/presence_simulation/translations/it.json create mode 100644 custom_components/presence_simulation/translations/nl.json create mode 100644 custom_components/presence_simulation/translations/pl.json create mode 100644 custom_components/presence_simulation/translations/sk.json create mode 100644 custom_components/presence_simulation/translations/sv.json create mode 100644 custom_components/presence_simulation/translations/uk.json diff --git a/custom_components/presence_simulation/icons.json b/custom_components/presence_simulation/icons.json new file mode 100644 index 0000000..602c25a --- /dev/null +++ b/custom_components/presence_simulation/icons.json @@ -0,0 +1,7 @@ +{ + "services": { + "start": "mdi:timer-play", + "stop": "mdi:timer-stop", + "toggle": "mdi:home-switch-outline" + } +} diff --git a/custom_components/presence_simulation/manifest.json b/custom_components/presence_simulation/manifest.json new file mode 100644 index 0000000..d66c361 --- /dev/null +++ b/custom_components/presence_simulation/manifest.json @@ -0,0 +1,13 @@ +{ + "domain": "presence_simulation", + "name": "Presence Simulation", + "codeowners": [ + "@slashback100" + ], + "config_flow": true, + "dependencies": ["history", "recorder", "scene"], + "documentation": "https://github.com/slashback100/presence_simulation", + "iot_class": "local_polling", + "issue_tracker": "https://github.com/slashback100/presence_simulation/issues", + "version": "5.3" +} diff --git a/custom_components/presence_simulation/services.yaml b/custom_components/presence_simulation/services.yaml new file mode 100644 index 0000000..f3642a4 --- /dev/null +++ b/custom_components/presence_simulation/services.yaml @@ -0,0 +1,45 @@ +start: + name: Presence simulation start + description: Start the presence simulation + fields: + switch_id: + name: The id of the presence simulation switch + description: The id of the presence simulation switch + example: switch.presence_simulation_2 + entity_id: + name: Entities list + description: The list of entities to use by the presence simulation to override the list configured in the component + example: > + - group.outside_lights + delta: + name: Delta + description: Override the default number of days used by the simulation + example: 7 + restore_states: + name: Should presence simulation status be restored after restart + description: Override the default restore switch. If set, the states will be restored after the simulation + example: True + random: + name: Activate random + description: Add a random factor (in seconds) to the historic events + example: 300 + brightness: + name: Set light brightness + description: Set a specific brightness fot lights that allows it + example: 75 +stop: + description: Stop the presence simulation + name: Presence simulation stop + fields: + switch_id: + name: The id of the presence simulation switch + description: The id of the presence simulation switch + example: switch.presence_simulation_2 +toggle: + description: Toggle the presence simulation + name: Presence simulation toggle + fields: + switch_id: + name: The id of the presence simulation switch + description: The id of the presence simulation switch + example: switch.presence_simulation_2 diff --git a/custom_components/presence_simulation/strings.json b/custom_components/presence_simulation/strings.json new file mode 100644 index 0000000..fcdc9bf --- /dev/null +++ b/custom_components/presence_simulation/strings.json @@ -0,0 +1,42 @@ +{ + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Poll interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the switch can't be changed" + }, + "step": { + "init":{ + "description": "Configuration", + "data": { + "switch": "The name of the switch (SHOULD NOT be changed)", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Poll interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/ca.json b/custom_components/presence_simulation/translations/ca.json new file mode 100644 index 0000000..2a9b074 --- /dev/null +++ b/custom_components/presence_simulation/translations/ca.json @@ -0,0 +1,41 @@ +{ + "title": "Simulador de presència", + "config": { + "error": { + "not_unique_name": "El nom escollit per aquest interruptor ja s'està fent servir, feu servir un altre nom" + }, + "step": { + "user":{ + "description": "Configuració", + "data": { + "switch": "El nom de l'interruptor del simulador de presència", + "entities": "Entitat o grup d'entitats", + "delta": "Delta (en dies)", + "interval": "Interval d'actualització (en segons)", + "restore": "Restaura l'estat després de la simulació", + "random": "Afegir un temps aleatori per canviar les entitats. Aquest paràmetre defineix el nombre màxim de segons", + "unavailable_as_off": "Considera l'estat No disponible com a Apagat" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "No es pot canviar el nom de l'interruptor" + }, + "step": { + "init":{ + "description": "Configuració", + "data": { + "switch": "El nom de l'interruptor del simulador de presència", + "entities": "Entitat o grup d'entitats", + "delta": "Delta (en dies)", + "interval": "Interval d'actualització (en segons)", + "restore": "Restaura l'estat després de la simulació", + "random": "Afegir un temps aleatori per canviar les entitats. Aquest paràmetre defineix el nombre màxim de segons", + "unavailable_as_off": "Considera l'estat No disponible com a Apagat" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/cs.json b/custom_components/presence_simulation/translations/cs.json new file mode 100644 index 0000000..8b2d088 --- /dev/null +++ b/custom_components/presence_simulation/translations/cs.json @@ -0,0 +1,41 @@ +{ + "title": "Předstírání přítomnosti", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Nastavení", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entita nebo skupina entit", + "delta": "Delta (ve dnech)", + "interval": "Prodleva obnovení (v sekundách)", + "restore": "Obnovit stav po předstírání", + "random": "Přidat náhodný čas pro přepínání entit. Tento parametr nastavuje maximální čas v sekundách", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Nastavení", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entita nebo skupina entit", + "delta": "Delta (ve dnech)", + "interval": "Prodleva obnovení (v sekundách)", + "restore": "Obnovit stav po předstírání", + "random": "Přidat náhodný čas pro přepínání entit. Tento parametr nastavuje maximální čas v sekundách", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/da.json b/custom_components/presence_simulation/translations/da.json new file mode 100644 index 0000000..3b98cd3 --- /dev/null +++ b/custom_components/presence_simulation/translations/da.json @@ -0,0 +1,41 @@ +{ + "title": "Simulering af tilstedeværelse", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Konfiguration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Enhed eller gruppe af enheder", + "delta": "Delta (i dage)", + "interval": "Opdateringsinterval (i sekunder)", + "restore": "Gendan tilstand efter simulering", + "random": "Tilføj et tilfældigt tidspunkt for tænd/sluk af enheder. Dette parameter definerer den maksimale tid i sekunder", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Konfiguration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Enhed eller gruppe af enheder", + "delta": "Delta (i dage)", + "interval": "Opdateringsinterval (i sekunder)", + "restore": "Gendan tilstand efter simulering", + "random": "Tilføj et tilfældigt tidspunkt for tænd/sluk af enheder. Dette parameter definerer den maksimale tid i sekunder", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/de.json b/custom_components/presence_simulation/translations/de.json new file mode 100644 index 0000000..2dabf78 --- /dev/null +++ b/custom_components/presence_simulation/translations/de.json @@ -0,0 +1,43 @@ +{ + "title": "Anwesenheitssimulation", + "config": { + "error": { + "not_unique_name": "Der gewählte Name für den Schalter ist bereits in Verwendung durch eine andere Entität, bitte wähle einen neuen Namen." + }, + "step": { + "user":{ + "description": "Konfiguration", + "data": { + "switch": "Name des Schalters für die Anwesenheitssimulation", + "entities": "Entität oder Gruppe von Entitäten", + "delta": "Unterschied (in Tagen)", + "interval": "Aktualisierungs-Intervall (in Sekunden)", + "restore": "Zustand nach Simulation wiederherstellen", + "random": "Zufallszeit für das Umschalten von Entitäten hinzufügen. Dieser Parameter definiert die maximale Zeit in Sekunden", + "unavailable_as_off": "Status 'Nicht verfügbar' entspricht 'Aus‘", + "brightness": "Zu verwendende Helligkeit, wenn die Lampe dies unterstützt" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "Der Name des Schalters kann nicht geändert werden" + }, + "step": { + "init":{ + "description": "Konfiguration", + "data": { + "switch": "Name des Schalters für die Anwesenheitssimulation", + "entities": "Entität oder Gruppe von Entitäten", + "delta": "Unterschied (in Tagen)", + "interval": "Aktualisierungs-Intervall (in Sekunden)", + "restore": "Zustand nach Simulation wiederherstellen", + "random": "Zufallszeit für das Umschalten von Entitäten hinzufügen. Dieser Parameter definiert die maximale Zeit in Sekunden", + "unavailable_as_off": "Status 'Nicht verfügbar' entspricht 'Aus‘", + "brightness": "Zu verwendende Helligkeit, wenn die Lampe dies unterstützt" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/en-GB.json b/custom_components/presence_simulation/translations/en-GB.json new file mode 100644 index 0000000..ead3c79 --- /dev/null +++ b/custom_components/presence_simulation/translations/en-GB.json @@ -0,0 +1,43 @@ +{ + "title": "Presence Simulation", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Refresh interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the switch can't be changed" + }, + "step": { + "init":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Refresh interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/en.json b/custom_components/presence_simulation/translations/en.json new file mode 100644 index 0000000..ead3c79 --- /dev/null +++ b/custom_components/presence_simulation/translations/en.json @@ -0,0 +1,43 @@ +{ + "title": "Presence Simulation", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Refresh interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the switch can't be changed" + }, + "step": { + "init":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity or group of entities", + "delta": "Delta (in days)", + "interval": "Refresh interval (in seconds)", + "restore": "Restore state after simulation", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off", + "brightness": "Brightness to be used if light allows the feature" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/es.json b/custom_components/presence_simulation/translations/es.json new file mode 100644 index 0000000..b2d97e7 --- /dev/null +++ b/custom_components/presence_simulation/translations/es.json @@ -0,0 +1,41 @@ +{ + "title": "Simulación de Presencia", + "config": { + "error": { + "not_unique_name": "El nombre elegido para el interruptor ya está tomado por otra entidad, por favor elija un nuevo nombre" + }, + "step": { + "user": { + "description": "Configuración", + "data": { + "switch": "El nombre del interruptor de simulación de presencia", + "entities": "Entidad o grupo de entidades", + "delta": "Delta (en días)", + "interval": "Intervalo de actualización (en segundos)", + "restore": "Restaurar estado después de la simulación", + "random": "Agregar un tiempo aleatorio para cambiar las entidades. Este parámetro define el tiempo máximo en segundos", + "unavailable_as_off": "Considerar el estado No Disponible como Apagado" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "El nombre del interruptor no se puede cambiar" + }, + "step": { + "init": { + "description": "Configuración", + "data": { + "switch": "El nombre del interruptor de simulación de presencia", + "entities": "Entidad o grupo de entidades", + "delta": "Delta (en días)", + "interval": "Intervalo de actualización (en segundos)", + "restore": "Restaurar estado después de la simulación", + "random": "Agregar un tiempo aleatorio para cambiar las entidades. Este parámetro define el tiempo máximo en segundos", + "unavailable_as_off": "Considerar el estado No Disponible como Apagado" + } + } + } + } + } \ No newline at end of file diff --git a/custom_components/presence_simulation/translations/fr.json b/custom_components/presence_simulation/translations/fr.json new file mode 100644 index 0000000..c5df68a --- /dev/null +++ b/custom_components/presence_simulation/translations/fr.json @@ -0,0 +1,43 @@ +{ + "title": "Simulation de présence", + "config": { + "error": { + "not_unique_name": "Le nom choisi est déjà utilisé par une autre entité. Merci de modifier le nom du switch" + }, + "step": { + "user":{ + "description": "Configuration", + "data": { + "switch": "Le nom du switch de simulation de présence", + "entities": "Entité ou groupe d'entités", + "delta": "Delta (nombre de jours)", + "interval": "Intervalle de mise à jour (en secondes)", + "restore": "Restaurer l'état des entités à la fin de la simulation", + "random": "Ajout d'un délai (s) aléatoire pour les changements d'entités", + "unavailable_as_off": "Considérer le statut Indisponible comme éteint", + "brightness": "Luminosité à utiliser pour les lampes qui le permettent" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "Le nom du switch ne peut être changé" + }, + "step": { + "init":{ + "description": "Configuration", + "data": { + "switch": "Le nom du switch (ne DOIT PAS être changé)", + "entities": "Entité ou groupe d'entités", + "delta": "Delta (nombre de jours)", + "interval": "Intervalle de mise à jour (en secondes)", + "restore": "Restaurer l'état des entités à la fin de la simulation", + "random": "Ajout d'un délai (s) aléatoire pour les changements d'entités", + "unavailable_as_off": "Considérer le statut Indisponible comme éteint", + "brightness": "Luminosité à utiliser pour les lampes qui le permettent" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/it.json b/custom_components/presence_simulation/translations/it.json new file mode 100644 index 0000000..2adebd4 --- /dev/null +++ b/custom_components/presence_simulation/translations/it.json @@ -0,0 +1,41 @@ +{ + "title": "Simulazione di presenza", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Configurazione", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entità o gruppo di entità", + "delta": "Delta (in giorni)", + "interval": "Intervallo di aggiornamento (in secondi)", + "restore": "Ripristina stati precedenti alla simulazione", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Configurazione", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entità o gruppo di entità", + "delta": "Delta (in giorni)", + "interval": "Intervallo di aggiornamento (in secondi)", + "restore": "Ripristina stati precedenti alla simulazione", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/nl.json b/custom_components/presence_simulation/translations/nl.json new file mode 100644 index 0000000..5d50a57 --- /dev/null +++ b/custom_components/presence_simulation/translations/nl.json @@ -0,0 +1,41 @@ +{ + "title": "Aanwezigheidssimulatie", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Configuratie", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity of groep van entities", + "delta": "Delta (in dagen)", + "interval": "Verversingsinterval (in seconden)", + "restore": "Herstel toestand na simulatie", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Configuratie", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entity of groep van entities", + "delta": "Delta (in dagen)", + "interval": "Verversingsinterval (in seconden)", + "restore": "Herstel toestand na simulatie", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/pl.json b/custom_components/presence_simulation/translations/pl.json new file mode 100644 index 0000000..4163466 --- /dev/null +++ b/custom_components/presence_simulation/translations/pl.json @@ -0,0 +1,41 @@ +{ + "title": "Symulacja obecności", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Konfiguracja", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Encja lub grup encji", + "delta": "Delta (w dniach)", + "interval": "Częstotliwość odświeżania (w sekundach)", + "restore": "Przywróć stan po symulacji", + "random": "Dodaj losowy czas przełączania encji. Ten parametr określa maksymalny czas w sekundach", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Konfiguracja", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Encja lub grup encji", + "delta": "Delta (w dniach)", + "interval": "Częstotliwość odświeżania (w sekundach)", + "restore": "Przywróć stan po symulacji", + "random": "Dodaj losowy czas przełączania encji. Ten parametr określa maksymalny czas w sekundach", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/sk.json b/custom_components/presence_simulation/translations/sk.json new file mode 100644 index 0000000..4b3b269 --- /dev/null +++ b/custom_components/presence_simulation/translations/sk.json @@ -0,0 +1,43 @@ +{ + "title": "Simulácia prítomnosti", + "config": { + "error": { + "not_unique_name": "Zvolený názov prepínača je už obsadený inou entitou, prosím, zvoľte nový názov" + }, + "step": { + "user": { + "description": "Konfigurácia", + "data": { + "switch": "Názov prepínača simulácie prítomnosti", + "entities": "Entita alebo skupina entít", + "delta": "Delta (v dňoch)", + "interval": "Interval obnovenia (v sekundách)", + "restore": "Obnoviť stav po simulácii", + "random": "Pridať náhodný čas pre prepínanie entít. Tento parameter definuje maximálny čas v sekundách", + "unavailable_as_off": "Považovať stav Nedostupný za Vypnutý", + "brightness": "Jas ktorý sa má použiť ak svetlo umožňuje túto funkciu" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "Názov prepínača nemožno zmeniť" + }, + "step": { + "init": { + "description": "Konfigurácia", + "data": { + "switch": "Názov prepínača simulácie prítomnosti", + "entities": "Entita alebo skupina entít", + "delta": "Delta (v dňoch)", + "interval": "Interval obnovenia (v sekundách)", + "restore": "Obnoviť stav po simulácii", + "random": "Pridať náhodný čas pre prepínanie entít. Tento parameter definuje maximálny čas v sekundách", + "unavailable_as_off": "Považovať stav Nedostupný za Vypnutý", + "brightness": "Jas ktorý sa má použiť ak svetlo umožňuje túto funkciu" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/sv.json b/custom_components/presence_simulation/translations/sv.json new file mode 100644 index 0000000..9e9d85f --- /dev/null +++ b/custom_components/presence_simulation/translations/sv.json @@ -0,0 +1,41 @@ +{ + "title": "Presence Simulation", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Konfiguration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entitet eller grupp av entitieter", + "delta": "Historik (i dagar)", + "interval": "Uppdateringsintervall (i sekunder)", + "restore": "Återställ tillstånd efter simulering", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Configuration", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Entitet eller grupp av entitieter", + "delta": "Historik (i dagar)", + "interval": "Uppdateringsintervall (i sekunder)", + "restore": "Återställ tillstånd efter simulering", + "random": "Add a random time for switching entities. This parameter define the max time in seconds", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +} diff --git a/custom_components/presence_simulation/translations/uk.json b/custom_components/presence_simulation/translations/uk.json new file mode 100644 index 0000000..5a805bf --- /dev/null +++ b/custom_components/presence_simulation/translations/uk.json @@ -0,0 +1,41 @@ +{ + "title": "Симуляція присутності", + "config": { + "error": { + "not_unique_name": "The chosen switch name is already taken by another entity, please choose a new name" + }, + "step": { + "user":{ + "description": "Конфігурація", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Сутність або група сутностей", + "delta": "Проміжок (у днях)", + "interval": "Інтервал оновлення (в секундах)", + "restore": "Відновити стан після симуляції", + "random": "Додавати випадковий час до перемикання сутностей. Цей параметр визначає максимальний час у секундах.", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + }, + "options": { + "error": { + "cannot_change_name": "The name of the swtich can't be changed" + }, + "step": { + "init":{ + "description": "Конфігурація", + "data": { + "switch": "The name of the presence simulation switch", + "entities": "Сутність або група сутностей", + "delta": "Проміжок (у днях)", + "interval": "Інтервал оновлення (в секундах)", + "restore": "Відновити стан після симуляції", + "random": "Додавати випадковий час до перемикання сутностей. Цей параметр визначає максимальний час у секундах.", + "unavailable_as_off": "Consider Unavailable status as Off" + } + } + } + } +}