Remove a z2m device

Would it be possible to create a link between Gladys and z2m regarding the deletion of a device?

When I delete a device on the z2m side, it remains present in Gladys, which has led to some confusion for me several times :grimacing:
Is there a way to have it automatically removed from Gladys when you perform the action on the z2m UI?

EDIT: I think this was mentioned somewhere, but it might also be useful, in the same spirit, to display in Gladys (in the z2m integration) the device reference, the IEEE address I believe? (like 0xa4c1385c3d16a29a)

Why not — we should check whether Zigbee2mqtt actually sends a message when a device is removed

It seems there is a message:

{"type":"device_leave","data":{"ieee_address":"0x90fd9ffffe6494fc","friendly_name":"my_bulb"}}

Which is sent when a device is removed from the Zigbee network (doc), so we need to see if that’s actually the case

I’m bumping this thread a bit, because I’m currently encountering an issue we’ve already talked about (I don’t remember where on the forum).

I found it strange not to have a value feedback on my son’s room opening sensor :

Actually, because of probably a failed / poorly handled operation, I see that in my z2m integration I have:

Problem: I don’t know which one to delete.
Clever as I am, I looked at the z2m dashboard and found a device with the correct name that has the Signal strength value.
So: I know which one to delete.

BUT if I’d had 2 identical sensors I would probably have deleted the wrong one…
So here’s the result of the request for the IEEE ref in Gladys’ z2m integration!

Like this :

Should I open another thread / feature request / GitHub issue?

1 Like

Perhaps another request, indeed?

1 Like