ZHA appears to be added automatically, even though I use Zigbee2MQTT

Hi
I have a weird home setup requiring me to use two ZigBee networks. The first one is using SLZB-07 connected directly via USB to my first Zigbee2MQTT server. Today I received SLZB-06MU, which is using Ethernet. I configured second Zigbee2MQTT network as usual, added my devices, then realized there’s a Zigbee entry in my Home Assistant settings, indicating ZHA. When I go in there, I get “Unknown command”, but it seems to actually be installed? I literally clicked “Ignore” for ZHA and SMLIGHT integrations few minutes before.


How can I get rid of that Settings entry and make sure that ZHA doesn’t show up? I’m happy with Zigbee2MQTT hosted by myself and don’t want ZHA.

Thanks

Same issue here! :raised_hand:

I actually switched from ZHA to Z2M a few months ago, and despite the fact I properly removed all ZHA devices + uninstalled the integration I still have this settings item with the same error message described above :confused:

Hey there! :slight_smile:

Okay! I FINALLY was able to figure out what’s happening! :partying_face:

It turns out I had some “ghost” configuration leftovers in my configuration.yaml file.
If you’re facing this, double-check your config for the zha: block:

zha:
  custom_quirks_path: /config/zha_quirks/
  zigpy_config:
    ota:
      otau_directory: /config/zigpy_ota
      providers:
        - type: ikea
        - type: sonoff
        - type: z2m
      extra_providers:
        - type: z2m
          url: https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json

The fix: Delete/comment the entire zha: block, save, and restart Home Assistant.
The icon should finally be gone!

Hope this helps!

The same thing happened to me yesterday. I had installed ZHA about five months ago, got rid of it, installed Z2M and have a very large Z2M install. ZHA totally reinstalled itself out of the blue. It didnt just show up in “discovered.” It fully installed. After all this time, why would a Core upgrade start this nonsense? The last thing I need is my Z2M install go flakey. Anybody else see this? I have NO mention of ZHA in my configs. WTF?

If it is discovered, it is not installed (yet). If you press ignore it will not show up as discovered anymore, and will still not be installed. Unless you press the other button (or install zha though yaml as the previous poster had).

This looks like an ill-advised “upgrade” that was bundled into the latest version. I hope it’s in the rear view mirror after the next upgrade… It’s just the downside of a constantly evolving environment. c’est la vie…