this is consistent for all devices I add. all the measurements that are collected in the State.json file are not turning up as an entity as I expected.
How does one make entity’s for this, Is that all manual labor done in the configuration.yaml or is it supposed to be auto detected(what I expected) ?
did you rename originally paired device name to something else?
Half year ago there was confirmed bug in discovery which renders in renaming only few sensors. others were keeping original names until z2m restart.
Check if other sensors you are expecting to exist, appear on entity list under original names.
The mentioned bug was supposed to be fixed in 2021.2. Maybe there are another issues related to assigning to single device
So I assume that the MQTT broker is doing its job?
Still not clear what is going wrong here, I have added 20 devices in Zigbee2mqtt and it is the same for all. I took one new out of the box device and that also reacted in the same way. (paired next to the coördinator)
Zigbee2MQTT is sending the discovery messages, so it must be on the HA side.
The switch appeared without doing anything ? So discovery is working.
if you go to configuration → entities, with all checkboxes checked
you still don’t see them ?
Oh, what version of HA are you on ?
Version 1.21 added new attributes. If the MQTT attribute is added to the autodiscovery topic, and isn’t one of the allowed ones, Home Assistant autodiscovery won’t set it up.