zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Since the update to 2.0.0 my Aqara motion sensors aren't showing illuminance in HA anymore

Open Fridolin34 opened this issue 1 year ago • 3 comments

What happened?

I dared to update, but now all automations relying on the brightness in the room aren't working anymore.

btw: for a Hue sensor, the attribute was only renamed, so the ':lux' was missing. This was easy to repair. But for all Aqaras the attribute is simply not shown in HA anymore. In Z2M it is still there.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.0.0

Adapter firmware version

20201128

Adapter

CC2531

Setup

HA on docker

Debug log

No response

Fridolin34 avatar Jan 04 '25 13:01 Fridolin34

I did not test it yet (also in the middle of the upgrade) ,but i did read that you have to enable that entity again, hope it helps. EDIT: tested,and did work for me (enable the entity)

Tinuz97 avatar Jan 04 '25 13:01 Tinuz97

https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.0.0 - read the linked "Breaking Chances" issue. It's the one marked in red, because it's important.

If you have disabled auto activation in the system options of the Home Assistant MQTT integration, you need to activate them manually.

m0wlheld avatar Jan 04 '25 13:01 m0wlheld

Thanks for pointing me to "enable the entity" ;) Finally I figured out, what you were trying to tell me, went to the entity in HA, found that next to "motion detected" there was another attribute and it said I could enable this "entity". I did this for every of my sensors and after a couple of seconds, all values were back.

I still do not know, why this was needed and reading the release notes didn't help me either. I did not disable any auto activation (at least not intentionally), so I was clueless.

Fridolin34 avatar Jan 04 '25 17:01 Fridolin34