I have a blueprint which selects a device, this works, but i need to filter the various entities inside the device as triggers for my automation and can't figure out how...
Tried to work it out in variables, but this didn't work.
variables: audiocontroller: !input ac_device volume_knob: >- {% for entity in device_entities(audiocontroller) -%} {%- if entity|regex_search("volume_knob") -%} {{- entity.entity_id -}} {%- endif -%} {%- endfor -%}