#Zigbee2MQTT package yaml throwing error on script

1 messages · Page 1 of 1 (latest)

dusky hatch
#

I've been trying to pull in the recommended Zigbee2MQTT integration package - https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html#controlling-zigbee2mqtt-via-home-assistant. The script block throws an error: Setup of package 'zigbee2mqtt' failed: integration 'script' cannot be merged, dict expected in main config. I'm pulling this in via packages: !include_dir_named packages in my configuration.yaml.

All my other packages work fine, though this is the only one with a script block. I've verified the YAML several times, and tried converting some of the data_template blocks to plain data blocks.

Any thoughts on what I'm doing wrong here would be very much appreciated!

fallen mauve
#

I just copied and pasted the whole first package at that link and it parses and loads fine

#

I put it in a file called zigbee.yaml (random name) and put it in my /config/packages directory

#

perhaps you messed up the indentation

dusky hatch
#

Thanks! How are you loading your packages? Via include_dir_named?

fallen mauve
#

packages: !include_dir_named packages