homeassistant-data

git clone git://archive.git.mtrnord.blog/MTRNord/homeassistant-data.git
Log | Files | Refs

commit f581f3fff30e88010b5dc63e94ca4f1a4dd09136
parent c349fdbaa41eb0d12e7d8be8238cd032c2a51975
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 16 May 2025 20:15:41 +0200

Fix bugs

Diffstat:
Mblueprints/automation/window_opened_status.yaml | 16+++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/blueprints/automation/window_opened_status.yaml b/blueprints/automation/window_opened_status.yaml @@ -1,6 +1,8 @@ blueprint: - name: Fenster geöffnet -> Heizung aus - description: Wenn ein oder mehrere Fenster geöffnet werden deaktiviere die Heizung und senke die Zieltemperatur + name: Fenster status -> Heizungssteuerung + description: | + Wenn ein oder mehrere Fenster geöffnet werden deaktiviere die Heizung und senke die Zieltemperatur. + Wenn alle Fenster geschlossen sind aktiviere die Heizung und setze die Zieltemperatur. domain: automation input: window_sensor: @@ -17,7 +19,7 @@ blueprint: thermostat: name: Thermostat - description: Thermostat das deaktiviert werden soll + description: Thermostat das geändert werden soll selector: entity: filter: @@ -70,20 +72,20 @@ actions: {% endfor %} {{ any_open }} sequence: - - service: climate.set_temperature + - action: climate.set_temperature target: entity_id: !input thermostat data: temperature: !input target_temp_windows_open - - service: climate.turn_off + - action: climate.turn_off target: entity_id: !input thermostat default: - - service: climate.set_temperature + - action: climate.set_temperature target: entity_id: !input thermostat data: temperature: !input target_temp_windows_closed - - service: climate.turn_on + - action: climate.turn_on target: entity_id: !input thermostat