I’m trying to fix up a somewhat working, but not really well integrated, device in Zigbee2MQTT. One of the things I want to fix is to move some entities to the “Configuration” and “Diagnostics” categories. I was assuming that this was set somehow in the Herdsman description of the device (currently residing as an external converter .js file; I’m planning to upstream it once I’m done), but I can’t find anything about it, nor see any obvious way on how other devices which have these categories work. Am I looking in the wrong place?
I solved this thanks to help from the Z2M discord. It was a bit tricky. This connection is actually not coded in the converter, but separately based on the attribute name in homeassistant.ts
in the Z2M repo.