Hi Jero!
I’m trying to migrate a script in which I fetch variables from the app “Better Logic Library”, but I get an error saying “TypeError: BLApp.apiGet is not a function”. I can’t find anything in the migration guide regarding this and I don’t know if the error is in my code, the HS-app or that the BLL-app needs to be updated to support this.
My code (which works fine in the classic script) is:
let BLApp = await Homey.apps.getApp({id: “net.i-dev.betterlogic”});
let BLVar = await BLApp.apiGet(“/Ecodan_DHW_Temp_Offset/”);
/Håkan