Hiding certain log event notifications

Hi All,

I have an Mushroom Alarm Card that, upon entering an invalid code, produces an error in the bottom left stating:

"Failed to call service alarm_control_panel/alarm_arm_away. Invalid alarm code provided"

I want to hide these system notifications and create a Node-RED based automation that creates a custom popup with a warning instead (just so I can customise the message/UI).

I’ve tried filtering the logging in the configuration.yaml:

logger:
  default: info
  filters:
    homeassistant.components.websocket_api.http.connection:
      - "Invalid alarm code provided" # Filter all alarm code errors.

This hides the logs in the System>Logs view but I still get the error popup.

Does anyone have any ideas of how to solve this?

Thanks in advance!