How do you update the code for a custom device type?

Hi,

Have been starting to use the custom NEST device type but need to modify/extend its capabilities for my setup.

I have started to modify the source code, save and publish it to For Me but none of the changes get picked up by the existing devices using this custom device type.

What is the best practice as a developer to iterate on code changes and apply them to the hub and the existing devices that use it? Really hope that the answer is not to delete and recreate all devices - that would be impractical.

Thanks!

Thank you for the reply in another thread. Logout and restart of the Mobile app it is for now.