Best practice for differentiating pairing on cloud and local

I’m working on a project which already supports a device on Homey Pro (local). I’m adding support for this device on Homey Cloud.

The app currently relies on device credentials being saved in the app settings. This is not supported for Homey Cloud.

I’d rather not change the way it works currently, but instead require users to enter credentials during pairing for Homey Cloud.

Is the best way for this to create two different representations of the device, one for cloud and one for local. Each device would support it’s own platform?