diff --git a/Climate/bosch_bth-ra_control_dev.yaml b/Climate/bosch_bth-ra_control_dev.yaml index 6ad28ca..3ef97e7 100644 --- a/Climate/bosch_bth-ra_control_dev.yaml +++ b/Climate/bosch_bth-ra_control_dev.yaml @@ -1,3 +1,4 @@ +mode: single blueprint: name: Bosch BTH-RA Radiator Control description: > @@ -79,18 +80,18 @@ variables: 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 %} + {% for entity in entities %} + {% if 'remote_temperature' in entity %} + {% set remote_temperature_entity_id.id = entity %} {% 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 %} + {% for entity in entities %} + {% if 'window_detection' in entity %} + {% set window_detection_entity_id.id = entity %} {% endif %} {% endfor %} {{ window_detection_entity_id.id }}