Setup failed for 'Alert"

I am starting to work on settiing up some alerts.

I have the following in my configuration.yaml

alert: !include alerts.yaml

Which points to alerts.yaml which is presently empty.

However, every time I restart HA, I get the follwing error:
Logger: homeassistant.setup
Source: setup.py:221
First occurred: 11:53:32 (1 occurrences)
Last logged: 11:53:32

Setup failed for ‘alert’: Integration failed to initialize.

I don’t have any other errors than that. I’m obviously missing something in my config but I can’t figure out what.

I have the same problem and error. I have automations that send notifications to my phone via the mobile app and also via Alexa Media Player, so I have notification integrations setup.

Trying to enable alert to use that instead of my current automation.

configuration.yaml

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
alert: !include alerts.yaml

Error message on reboot:

Logger: homeassistant.setup
Source: setup.py:221
First occurred: 5:31:46 PM (1 occurrences)
Last logged: 5:31:46 PM

Setup failed for 'alert': Integration failed to initialize.

John

Have either of you actually put code in the alerts.yaml file and restarted Home Assistant yet?

1 Like

That was it for me. The alerts.yaml file can’t be empty. Strange. My scripts.yaml and scenes.yaml are both empty and they don’t error, so I figured alerts would be the same. They really need to have alerts be UI configurable like automations (yes, I did vote for it).

Thanks for the help!

1 Like

That’s what it turned out to be for me as well. Not sure why I didn’t try that earlier.

1 Like