Add window sensors to Ally rooms: badevarelse + stue

This commit is contained in:
2026-04-23 17:48:01 +02:00
parent 9fbc1626d7
commit 2ae9723fa3
+10 -4
View File
@@ -146,8 +146,11 @@ varme_recalculate:
{% else %} {{ k }}
{% endif %}
# ---- Badeværelse Danfoss Ally (ingen vinduesensor endnu) ----
# entity_id: climate.badevarelse — ret hvis Z2M giver andet navn
# ---- Badeværelse Danfoss Ally (vindue: binary_sensor.badevaerelse_vindue) ----
- if:
- condition: template
value_template: "{{ not is_state('binary_sensor.badevaerelse_vindue', 'on') }}"
then:
- service: climate.set_temperature
target:
entity_id: climate.badevarelse
@@ -161,8 +164,11 @@ varme_recalculate:
{% else %} {{ k }}
{% endif %}
# ---- Stue Danfoss Ally (ingen vinduesensor endnu) ----
# entity_id: climate.stue — ret hvis Z2M giver andet navn
# ---- Stue Danfoss Ally (vindue: binary_sensor.terrassedor) ----
- if:
- condition: template
value_template: "{{ not is_state('binary_sensor.terrassedor', 'on') }}"
then:
- service: climate.set_temperature
target:
entity_id: climate.stue