Blueprint to perform an action when an entity becomes unavailable.
Configurations:
-
Filter - regex over the triggering entity ID, I apply it mostly for ‘sensor’ entities but any regex will work.
For example “light|sensor
” for all lights and sensors orlight.name
for a specific entity -
Action - select the action to execute when the automation is triggered,
{{ trigger.event.data.entity_id }}
will be replaced with the unavailable entity ID. - Max queued - as this can be triggered for multiple entities, you can set the maximum queue depth, defaults to 10.
gist url: https://gist.github.com/sagilo/9c5f85794fa8ee3427e7cdab27f573f5