ZHA is "not loaded" anymore after editing configuration.yaml for zha_quirks

I’m running HA on Proxmox. After doing the installtion and editing the configuration.yaml file, it breaks my ZHA instance. It shows that ZHA is “not loaded” anymore.

My root folder is /homeassistant.
I’ve created a new directory under /homeassistant and named it “custom_zha_quirks”. Quirks py file is under that directory.

** Added this under configuration.yaml **


# Zigbee Moes Thermostat
zha:
  database_path: /homeassistant/zigbee.db
  enable_quirks: true
  custom_quirks_path: /homeassistant/custom_zha_quirks/

Can someone help please as I’ve now lost all my previous smart devices that were working over ZHA till now.

image

First stop is always the logs. Anything in there of relevance you could shre?

I pasted the screenshot of the error logs.

Logger: homeassistant.setup
Source: setup.py:269
First occurred: 11:40:54 PM (1 occurrences)
Last logged: 11:40:54 PM

Setup failed for 'zha': Invalid config.
Logger: homeassistant.config
Source: config.py:942
First occurred: 11:40:54 PM (1 occurrences)
Last logged: 11:40:54 PM

Invalid config for 'zha' at configuration.yaml, line 122: not a directory for dictionary value 'zha->custom_quirks_path', got '/homeassistant/custom_zha_quirks/', please check the docs at https://www.home-assistant.io/integrations/zha

How about…

zha:
  custom_quirks_path: /config/custom_zha_quirks/

I don’t have your other two lines.

I figured it out. If someone else is facing the same issue, pls use following entry in configuration.yaml file

# Zigbee Moes Thermostat
zha:
  enable_quirks: true
  custom_quirks_path: custom_zha_quirks/