From a26d002eab10d6e7e2f5f786956a37392e13e15a Mon Sep 17 00:00:00 2001
From: jabertwo <git@jabertwo.de>
Date: Fri, 14 Mar 2025 23:51:00 +0100
Subject: [PATCH] ANSIBLE_hackcenter_licht_nach_shutdown

---
 .../templates/config/configuration.yaml       | 25 ++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/intern/docker_homeassistant/templates/config/configuration.yaml b/intern/docker_homeassistant/templates/config/configuration.yaml
index 7944837b..4e45f5dc 100644
--- a/intern/docker_homeassistant/templates/config/configuration.yaml
+++ b/intern/docker_homeassistant/templates/config/configuration.yaml
@@ -282,7 +282,7 @@ automation ansible:
             data:
               skip_condition: true
             target:
-              entity_id: automation.ansible_hackcenter_licht_nach_shutdown
+              entity_id: automation.ANSIBLE_hackcenter_licht_nach_shutdown
 
   - alias: ANSIBLE_Zonenboot
     mode: single
@@ -787,6 +787,29 @@ automation ansible:
           area_id: NoAutoOn
     mode: single
 
+  - alias: ANSIBLE_hackcenter_licht_nach_shutdown
+    description: ""
+    mode: single
+    triggers: []
+    conditions: []
+    actions:
+      - action: light.turn_on
+        metadata: {}
+        data:
+          brightness_pct: 50
+        target:
+          device_id: c4f8f83fb287ba7b1d66b674a1564c75
+      - delay:
+          hours: 0
+          minutes: 3
+          seconds: 0
+          milliseconds: 0
+      - action: light.turn_off
+        metadata: {}
+        data: {}
+        target:
+          device_id: c4f8f83fb287ba7b1d66b674a1564c75
+
   - alias: ANSIBLE_ZONE_backcenter_an
     description: ""
     triggers: []
-- 
GitLab