I have the following automation to notify on errors in the logs:
alias: Notify logged errors
description: Notify logged errors
triggers:
- event_type: system_log_event
event_data:
level: ERROR
trigger: event
conditions: []
actions:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- action: notify.mobile_devices_admin
data:
message: |
ERROR occured in the logs: {{ trigger.event.data.message }}
title: ERROR occured in the logs!
mode: single
I now realized that this seems to only notify errors of the HA core component. How do I need to modify this alert to notify for all errors that I see in the HA logs?