Any idea why I don’t see any events written on the screen when I start listening to system_log_event using the developer tools when there are clearly warnings and errors in my log in the meantime? I believe this is the reason that the following automation does not work.
alias: Send notification on error
trigger:
- platform: event
event_type: system_log_event
action:
- service: persistent_notification.create
data:
title: Error occurred
message: An error occurred in Home Assistant. Have a look at the log.
Here are some errors in my log which I would expect to trigger this automation:
2021-12-08 08:42:39 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to connect: Cannot connect to host core-zwave-js:3000 ssl:default [Connect call failed ('172.30.33.1', 3000)]
2021-12-08 08:42:39 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Z-Wave JS' for zwave_js integration not ready yet: Cannot connect to host core-zwave-js:3000 ssl:default [Connect call failed ('172.30.33.1', 3000)]; Retrying in background