blueprints/automation/wd-close-weather-notification.yaml aktualisiert
This commit is contained in:
@@ -87,7 +87,7 @@ action:
|
||||
{% for ent_id in selected_openings %}
|
||||
{% set state_obj = states(ent_id) %}
|
||||
{% if state_obj and state_obj.state == 'on' %}
|
||||
{% set _ = open_list.append(state_obj.attributes.friendly_name) %}
|
||||
{% set _ = open_list.append(state_obj.attributes.friendly_name | default(ent_id)) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{{ open_list }}
|
||||
|
||||
Reference in New Issue
Block a user