- id: info_zha_unavailable_notice alias: '[INFO][ZHA] Device offline' mode: single trigger: {% for device in devices %} # {{ device.name }} - device_id: "{{ device.id }}" domain: zha platform: device type: device_offline subtype: device_offline {% endfor %} action: - service: notify.mobile_app_iphone data: title: "Device unavailable" message: > {% raw %}{{ device_attr(trigger.event.data.device_id, 'name_by_user') }}{% endraw %} is unavailable