Z-Wave Firmware update messed up entity IDs

Hi there,

I’m using Z-Wave JS and have 30 devices connected.

Around 10 of those devices are Aeotec’s ZWA023 smart plugs.

This past week, there was a firmware update that Z-Wave JS reported, from 1.3.1 to 1.3.2.

I executed the update on all the devices.

I noticed that all of the sensor entity IDs (voltage, watts, amps, etc) were duplicated. The existing entity ID (e.g. christmas_tree_electric_consumption_a) showed as UNAVAILABLE and a new entity ID christmas_tree_electric_consumption_a_2 was created for each one.

This messed up all of my automations.

I was able to mass-delete the old entity IDs via the GUI (nice to have the new filter options).

But now I’m left with around 100 incorrect entity IDs, suffixed with “_2”.

a) Anyone else have this issue?
b) What’s the fastest way for me to fix it without having to painfully update each one?
c) Anything I could do better to avoid this?

I filed this: Z-Wave JS Firmware Update Causes Duplicate Entity IDs · Issue #122034 · home-assistant/core · GitHub

Cheers.
Matt

That’s not totally unheard of, it depends on the firmware update and if it’s been redefined in the ZWave device library. I get this from time to time (just had it actually on a few devices).

Painfully update each one or painfully change all your references (automation, functions, etc) to reflect the new ID.

When you have multiple devices of the same type that have a firmware update, I recommend updating one or two first so you know what you are in for. In your case, had you done just one or two then you would know that you either need to pre-rename the old ones or plan to post-rename the new ones.

3 Likes

Or don’t apply firmware update unless it addresses a specific issue you have. Devices sometimes brick if things don’t go right.

2 Likes