Aqara p1.. now has different entity ids

I bought two p1’s a few months ago and by default, Home Assistant gave them entity ids like so:

binary_sensor.lumi_lumi_motion_ac02_iaszone_2

(For the motion detection sensor).

I’ve just bought 2 more, and Home Assistant now names them:

binary_sensor.lumi_lumi_motion_ac02_motion_2

This isnt a big deal, but I wondered what the reasoning was.

I can certainly change them to whatever I want, but I’d like to stay consistent with the current naming schemes so is the word ‘motion’ now favoured instead of iaszone ?

you probably didn’t rename your entity. If you rename the whole device image you will see that the entity receives a proper name image

I wasn’t referring to whether or not the device was renamed, but the default names given to the entities straight out of the box.

That’s what i am saying, because you already have those entities and you have not renamed them, it is applying _2 or _3 etc to them to diferentiate. You cant have the same name for entities.

I was more interested in why it was using the word motion now, rather than before, it was using iaszone for the same entity.

I only really noticed it because I use the auto-entities card with iaszone as an entity filter and the other entities were not showing up, then I realised why once I saw that the auto naming was using ‘motion’ now, rather than iaszone.

No idea what exactly is going on, however i am in the process of renaming all devices and entities with something more convenient and easy to find. :smile:

Just as a final note to this thread, this is what I was talking about.

Previously, when adding motion sensors (Aqara P1), the ‘motion’ part was referred to as the Iaszone:

image

But now, when adding new P1’s (Exactly the same devices), its showing as ‘Motion’:

So now I have a mix of these entities for the same devices. I’m guessing the naming was changing in a n HA release at some point. Or maybe the firmware in the P1’s has been updated and caused this change?