long time ago I’ve created the following lovelace overview:
In the past, both values for illuminance and linkquality have been displayed nicely next to the other values. Now those values are gone. The sensor works fine and in the zigbee2mqtt dashboard everything is listed properly:
Just a SWAG here because I am not an expert, but look in “Supervisor Tools”, “States” and see if the entities grew a “_2” suffix. The easy fix, then, is to edit the Lovelace card and update the entity there.
I have an automation reacting to the current brightness, so if this sensor would have changed its name, this automation would have complained. But it is working nicely without any issues.
IN your first screenshot the entity is called “sensor.XXX_illuminance” but in the second screenshot it is called “sensor.XXX_illuminance_lux”. Or are this 2 different sensors?
In my automations, I am using the _lux and this seems to be the reason, why it is still working. I don’t remember changing it, but obviously I did. So the solution would be to change the listed attribute in lovelace and everything is back to normal.
The remaining questions would be, why are there two different attributes at all, why is only one of them used in HA and why did it change from one to the other, because I wouldn’t have used it if no values would have been displayed. But I guess it will be hard to figure this out.