gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
169 stars 13 forks source link

Reload appends new increment "_#" appended to entity ids #360

Open gmcui opened 2 weeks ago

gmcui commented 2 weeks ago

Every time I click "Reload" (under 3-dots next to Configure), all entity ids have their end "_[number]" incremented by 1. I am up to _7 now, LOL. This breaks the lovelace card, as well as any automation/nodered.

This is seen on HAOS running as VM on Proxmox, everything is up-to-date. Freshly installed iCloud3 V3 (3.1).

Thanks for looking into this. Also, is there anyway to manually remove the _# suffix of all iCloud3 entities?

gcobb321 commented 2 weeks ago

That is caused by the Reload. HA still has iCloud3 running when it is reloaded so the entities with the previous startup still exist. HA makes them unique by adding the prefix. You must do a Restart, not a Reload and you will not have this problem.

gmcui commented 2 weeks ago

OK, thanks!