fix wrong indendation

This commit is contained in:
2025-11-27 17:55:58 +01:00
parent 1f0a485b89
commit 33269d8457

View File

@@ -72,25 +72,25 @@ triggers:
variables:
trv: !input radiator_entity
remote_temperature_entity: >
{% set entities = device_entities(device_id(trv)) %}
{% set remote_temperature_entity_id = namespace(id='') %}
{% for s in entities %}
{% if 'remote_temperature' in s %}
{% set remote_temperature_entity_id.id = s %}
{% endif %}
{% endfor %}
{{ remote_temperature_entity_id.id }}
window_detection_entity: >
{% set entities = device_entities(device_id(trv)) %}
{% set window_detection_entity_id = namespace(id='') %}
{% for s in entities %}
{% if 'window_detection' in s %}
{% set window_detection_entity_id.id = s %}
{% endif %}
{% endfor %}
{{ window_detection_entity_id.id }}
current_temperature: !input temperature_sensor
remote_temperature_entity: >
{% set entities = device_entities(device_id(trv)) %}
{% set remote_temperature_entity_id = namespace(id='') %}
{% for s in entities %}
{% if 'remote_temperature' in s %}
{% set remote_temperature_entity_id.id = s %}
{% endif %}
{% endfor %}
{{ remote_temperature_entity_id.id }}
window_detection_entity: >
{% set entities = device_entities(device_id(trv)) %}
{% set window_detection_entity_id = namespace(id='') %}
{% for s in entities %}
{% if 'window_detection' in s %}
{% set window_detection_entity_id.id = s %}
{% endif %}
{% endfor %}
{{ window_detection_entity_id.id }}
current_temperature: !input temperature_sensor
actions:
- if: