Support for Bond hub

I posted this on a different thread, but though I would cross post in case someone else is trying to get this to work as well.

I have a smart by bond fan controller:
https://www.homedepot.com/p/Universal-Smart-Wi-Fi-4-Speed-Ceiling-Fan-Remote-Works-with-Google-Assistant-SmartThings-and-Alexa-99434/311264804

and have it working with dman2306's bond integration.

I have it working by simply using the token and IP of the smart fan controller, but there seems to be a problem with getting the device ID: here is device list from curl output:

curl -H "BOND-Token: [mytoken]" -i http://[myip]/v2/devices
HTTP/1.1 200 OK
Content-Length: 39
Content-Type: application/json; charset=utf-8

{" ":"83777720","1":{" ":"f1013395"}}

If I hardcode 1 as the device ID in the function getDeviceById and getParmetersById, everything works.

outputting ${deviceId} at the line that calls this function reveals it is sending: "1={_=f1013395}" which ends up with a null result.

I am fine with the hardcoding, but would I be able to run a second instance of the app if I got another controller?