Tested the following and no go. Nothing in the logs and automation does not show it fired. Might see if I can setup something with appdaemon.
Device name - device_tracker.ha_lr_broadlink
- alias: '[Home Automation] Device Status Online'
trigger:
- platform: event
event_type: state_changed
condition:
- condition: template
value_template: "{{ 'device_tracker.ha_' in entity_id }}"
action:
- service: notify.mobile_app_michael_phone
data_template:
title: 'Device {{ trigger.to_state.name }} is'
message: >
'{{ trigger.to_state.state }}'