]> git.giorgioravera.it Git - homeassistant.git/commitdiff
removed useless automation for startup master
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 23 Feb 2026 07:52:19 +0000 (08:52 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 23 Feb 2026 07:52:19 +0000 (08:52 +0100)
automations/startup.yaml
automations/test_mode.yaml

index 7b7c75a436cfbd8428215f6ea3612a9a97023c35..3d349c4a923de6056be9e874202baad835a02a04 100644 (file)
@@ -1,21 +1,3 @@
-######################################################################
-# Startup Automation: Restart on Error
-######################################################################
-
-- alias: "Home Assistant - Startup: Restart on Error"
-  id: "home_assistant_startup_restart_on_error"
-
-  trigger:
-    - trigger: homeassistant
-      event: start
-
-  action:
-    - delay: 00:00:60
-    - condition: state
-      entity_id: persistent_notification.invalid_config
-      state: 'notifying'
-    - action: script.homeassistant_restart
-
 ######################################################################
 # Startup Automation: Google Sync
 ######################################################################
 ######################################################################
 # Startup Automation: Google Sync
 ######################################################################
index c6a4afbda5af1284018dd170299f2fe3e86e10fa..23a7822d356c4cae0f923321d18817c7fa778c18 100644 (file)
@@ -5,16 +5,12 @@
 - alias: "Home Assistant - Modalità Test: Azione on"
   id: "home_assistant_modalita_test_azione_on"
 
 - alias: "Home Assistant - Modalità Test: Azione on"
   id: "home_assistant_modalita_test_azione_on"
 
-  trigger:
+  triggers:
     - trigger: state
       entity_id: input_boolean.test_mode
       to: 'on'
 
     - trigger: state
       entity_id: input_boolean.test_mode
       to: 'on'
 
-  action:
-
-    - action: automation.turn_off
-      entity_id: automation.home_assistant_startup_restart_on_error
-
+  actions:
     - action: automation.turn_off
       entity_id: automation.home_assistant_startup_google_sync
 
     - action: automation.turn_off
       entity_id: automation.home_assistant_startup_google_sync
 
 - alias: "Home Assistant - Modalità Test: Azione off"
   id: "home_assistant_modalita_test_azione_off"
 
 - alias: "Home Assistant - Modalità Test: Azione off"
   id: "home_assistant_modalita_test_azione_off"
 
-  trigger:
+  triggers:
     - trigger: state
       entity_id: input_boolean.test_mode
       to: 'off'
 
     - trigger: state
       entity_id: input_boolean.test_mode
       to: 'off'
 
-  action:
-    - action: automation.turn_on
-      entity_id: automation.home_assistant_startup_restart_on_error
-
+  actions:
     - action: automation.turn_on
       entity_id: automation.home_assistant_startup_google_sync
     - action: automation.turn_on
       entity_id: automation.home_assistant_startup_google_sync