asantaga / wiserHomeAssistantPlatform

Platform and related climate/sensors to support the Drayton Wiser Home Heating System
MIT License
219 stars 43 forks source link

Duplicate TRV Entity names after loss of signal #442

Closed kernowkoi closed 4 months ago

kernowkoi commented 4 months ago

Hello,

One of my TRV's dropped off the Wiser Zigbee hub network. Showing as loss of signal in the Wiser Heat App and unavailable in HA integration. When I re-joined it to the Wiser Zigbee hub no change was made to it's name or location but new entities for it were created with _2 on the end see screen grab from HA

Screenshot 2024-03-01 154231

This of course messes up my Dashboards and any automation I may have done.

What should I have done to keep the same entity names?

Can I delete the dead ones and rename the new ones?

Will this happen when I change batteries in TRV's RoomStats etc? Will be a real pain if it does!

msp1974 commented 4 months ago

If you remove and re-add a device to the hub, it gives it a new device I'd and therefore the integration sees it as a new device. You could have deleted the old device first from the integration and then re-added it to the hub. You can also still remove the old entities and rename the new ones to remove the _2.

Changing batteries does not do this as they reconnect to the hub with the same device id.

Hope that helps.

kernowkoi commented 4 months ago

Hi Thanks,

Have Removed the broken entities and renamed the new ones all working fine.