Notifications for when integrations fail

Hello all,

I’m trying to find a way to get a mobile notification if any of the integrations fail. Ideally, the solution would automatically include all future integrations without my input.

Thanks

You could use an automation trigger to watch for error events.

    trigger:
    - platform: event
      event_type: system_log_event
      event_data:
        level: ERROR

You could write {{ trigger.event.data.message }} to your message in the actions and there is other data you can filter on too.

Be very, very careful though.

I once wrote an automation like this to log errors to my system telegram chat. Unfortunately the automation generated errors, which triggered the automation, which generated errors, which triggered the automation… you get the idea. Killed HA very quickly.

Include a delay in the actions at least.

Thanks! I just set this up with a failsafe, I really appreciate that tip. :grinning: