This commit is contained in:
Home Assistant Version Control
2026-07-30 02:35:11 +00:00
parent 2770bfa4f5
commit e02abc6ddf
18 changed files with 691 additions and 0 deletions
@@ -0,0 +1,7 @@
{
"services": {
"start": "mdi:timer-play",
"stop": "mdi:timer-stop",
"toggle": "mdi:home-switch-outline"
}
}
@@ -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"
}
@@ -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
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}
@@ -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"
}
}
}
}
}