#Automation Error

1 messages · Page 1 of 1 (latest)

green kelp
#

I am currently using the blueprint linked below applied to an IKEA STYRBAR remote.
https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/ikea_e2001_e2002/

Whilst it works flawlessly, every time I restart HA without fail, I receive the following error report.

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 65, in async_attach_trigger
    return await platform.async_attach_trigger(hass, config, action, trigger_info)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/mqtt/device_trigger.py", line 379, in async_attach_trigger
    mqtt_data = hass.data[DATA_MQTT]
                ~~~~~~~~~^^^^^^^^^^^
KeyError: 'mqtt'```

I have set up the device using ZHA as shown in the screenshot below, so unsure of the cause.

Any support would be appreciated.

Controller automation for executing any kind of action triggered by the provided IKEA E2001/E2002 STYRBAR Remote control. Supports Zigbee2MQTT, ZHA, deCONZ.

dusty igloo
#

I think the error isn't generated by this blueprint. I use the same blueprint in ZHA and don't get this error on startup. Where else in your setup do you use mqtt?

green kelp
#

I don't have anything using mqtt, as to why this has stumped me. I've only recently set up this installation, so the connected devices are limited (being about 3 or 4), all of which were connected through ZHA.

dusty igloo
#

So the mqtt addon isn't even installed?

#

Perhaps try reloading automations from Dev Tools > YAML to ensure it is picking up the latest config..

bitter aspen
#

perhaps the blueprint doesn't expect there to be no mqtt integration set up and so it throws an error?

dusty igloo
#

Nope. I don't have mqtt and z2m installed and I don't get this error even though I use this blueprint.

green kelp
#

The configuration file has been refreshed likely close to 100 times by now as I'm also trying to sort another issue on the side, but yeah still occurring after the fact.

I've just installed the mqtt integration without actually setting it up to see if the issue still occurs later (as I'm unsure how long it actually takes to trigger).

green kelp
#

Just adding the MQTT integration, even if I don't bother setting it up appears to have stopped the error logs entirely, appreciate y'alls help in clearing up one of my issues. 🙏

runic plinth
#

Home Assistant calendar automation not triggering. Core 2025.3.3, Supervisor 2025.03.3, OS 15.0, Frontend 20250306.0. Event in calendar, automation trigger set to event start, correct calendar selected. Any help appreciated. I can provide the automation code if needed. What's the best way to share it here?
[6:58 PM]
Both the local calendar and the Google Calendar integration seemed not to trigger the automation.

autumn blaze