blueprints/automation/wd-close-weather-notification.yaml aktualisiert
This commit is contained in:
@@ -82,9 +82,9 @@ action:
|
|||||||
selected_openings: !input openings
|
selected_openings: !input openings
|
||||||
message_template: !input custom_message
|
message_template: !input custom_message
|
||||||
notify_service_name: !input notify_service
|
notify_service_name: !input notify_service
|
||||||
# Get only entities that are currently 'on'
|
|
||||||
open_entities: >
|
open_entities: >
|
||||||
{{ selected_openings
|
{{ selected_openings
|
||||||
|
| map('string')
|
||||||
| map('states')
|
| map('states')
|
||||||
| selectattr('state','eq','on')
|
| selectattr('state','eq','on')
|
||||||
| map(attribute='attributes.friendly_name')
|
| map(attribute='attributes.friendly_name')
|
||||||
|
|||||||
Reference in New Issue
Block a user