From 1cdfcd99f845e4f912302d332d5b0eaef6c0fb98 Mon Sep 17 00:00:00 2001
From: jabertwo <git@jabertwo.de>
Date: Thu, 6 Jul 2023 22:54:07 +0200
Subject: [PATCH] automation um alle heizungen auszuschalten

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

diff --git a/intern/docker_homeassistant/templates/config/configuration.yaml b/intern/docker_homeassistant/templates/config/configuration.yaml
index 4efc5178..e7080259 100644
--- a/intern/docker_homeassistant/templates/config/configuration.yaml
+++ b/intern/docker_homeassistant/templates/config/configuration.yaml
@@ -248,3 +248,19 @@ automation ansible:
                   timeout: 30
                   message: Die warpzone ist seit {{ '{{' }} states('sensor.time') {{ '}}' }} geschlossen!
     mode: restart
+
+  #turn off all radiators
+  - alias: ANSIBLE_heizung_aus
+    description: "Schaltet alle Heizungen aus"
+    trigger: []
+    condition: []
+    action:
+      - service: climate.turn_off
+        data: []
+        target:
+          entity_id:
+            - climate.hackcenter_mitte
+            - climate.loung_vorne
+            - climate.treppenhaus_thermostat_1
+            - climate.vortragsraum_vorne
+    mode: single
-- 
GitLab