Missing entity attributes in HA lovelace

Hi all,

long time ago I’ve created the following lovelace overview:
image

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:
image

So, what can I do to ‘repair’ this?

Thanks

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.

Thanks for your answer, but there everything looks fine as well.

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?

1 Like

Thanks for pointing this out - it is somehow strange.

Zigbee2mqtt is showing two attributes for illuminance:
image

But in HA, only one is shown:

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.

Thanks for helping me!

But this only solves the question concerning one of the two attributes. The value for the linkquality is still gone and also not renamed or similar. :thinking: