1
0
ansible-home-assistant/HELP.md

301 B

List all zigbee devices for unavailable automation

{% set ids = integration_entities('zha') | map('device_id') | unique | list %}
{% set ns = namespace(result=[]) %}
{% for s in ids %}
  {% set ns.result = ns.result + [ [s, device_attr(s, 'name_by_user')] ] %}
{% endfor %}
{{ ns.result }}