@badisensors I have this same issue and am struggling to find a consice answer to the question. Have you figured it out?
I would love to see a bit more detail about the important naming and numbering protocals for Gateways, Nodes, Sensors, and their output values within the MySensors architecture. So far, I am not finding much and progress is slow when I simply need to try different iterations and make conclusions/adjustments.
What I did not try but might work: copy your persistence file, delete the old GW and create a new one with the persistence file you copied. Maybe the devices are preserved like this. Maybe you should create a full backup before...
<edit: typo>
hey,
sorry for late reply. PR for mysensors is ready to be merged:
https://github.com/mysensors/MySensors/pull/1570
next step is create PR in mysensors integration for home assistant.
Best regards
Mariusz