I have the following problem. Zigbee2MQTT runs fine as far as I don’t save the configuration trough the front end. After saving and after a restart the devices become unavailable after a bit trying out and using MQTT Explorer I found out that the reason for that seams to be that device are now reported directly under the “homeassistant” topic instead as a sensor or as a switch
If I save the config through the front end I get a line added under mqtt:
base_topic: zigbee2mqtt
or
base_topic: homeassistant
after an reboot the problems starts and only deleting that line and restarting solves it.
The front end says that this base_topic must not be null so I can’t delete the value in the fron end.
To what value do I have to set base_topic that the devices appear under sensor and switch where they belong to?
Thank you!
BTW. Is there a way to set the front end to dark theme as I have the whole homeassistant front end?
Also, looking at how different the yaml format they are, I suspect the format and structure OP is using is not correct to begin with, or at least not 100% correct any more.
IIRC, z2m started the shift from yaml to frontend UI to manage configuration… since 1.25 I believe. Please check change logs and docs of z2m from its Github page, and I believe there was a breaking change per z2m Github because of this.
… which might explain why you could roll your configs in yaml manually (in a different format), but then as soon as you touch the z2m frontend UI, things start to go south.
FWIW, the format/structure of my config/zigbee2mqtt/configuration.yaml is a lot closer to Tom’s in post #2, than yours in #1 or #6.
I also have base_topic: zigbee2mqtt in mine.
I also do not have devices: section in the same yaml.
So even if yours is working now, there might still be other issues you would want to address.
My 2 cents.