fix wrong indendation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user