Tracking down a useless error

Any idea what logging settings I can use to may figure out exactly what is causing this error?

I’ve looked through my automations but haven’t figured out which one is causing the problems here.

configuration.yaml
image

I’m just not exactly sure WHAT is really causing these issues… :man_shrugging:

I agree that when it jumps to automations.yaml… the error above has not very informative details
Did you recently add a blueprint that tries to send a message to a device?
Add automations.yaml if possible (no private details of course)

Read the last line of the error.
image

You have an incorrectly configured blueprint that’s missing a needed input.

I mean I get that but how do figure out which one?

Which ever one uses notify_device. This is an unexpected error so it will be lacking details. You’ll have to figure it out via trial by fire.

I was hoping that as HA parses each blueprint in order - it could have a more useful error message… I guess not…

It does. However that error is produced by the automation. So it’s occurring when the automation is trying to use the blueprint.

Hi,

I have the same issue but could not found the blueprint issue , the related automations are working fine.

Logger: homeassistant.config
Source: components/blueprint/models.py:161
First occurred: June 26, 2022 at 9:58:20 AM (66 occurrences)
Last logged: 9:05:04 AM

Invalid config for [automation]: Missing input covers_close, covers_open, notify_mobile, sonos_entity (See /config/configuration.yaml, line 64).
Invalid config for [automation]: Missing input covers_close, covers_open, sonos_entity (See /config/configuration.yaml, line 64).
Invalid config for [automation]: Missing input sonos_entity (See /config/configuration.yaml, line 64).
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 103, in _try_async_validate_config_item
    config = await async_validate_config_item(hass, config, full_config)
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 70, in async_validate_config_item
    return await blueprints.async_inputs_from_config(config)
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 299, in async_inputs_from_config
    inputs.validate()
  File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 161, in validate
    raise MissingInput(self.blueprint.domain, self.blueprint.name, missing)
homeassistant.components.blueprint.errors.MissingInput: Missing input covers_close, covers_open, notify_mobile, sonos_entity

Exactly my case. Everything works fine