Does anyone know how to read and write BLL variables using the new, latest Homey API?
Old code:
// BLL
var testStr = “1.01,1.02,1.03”;
let BLApp = await Homey.apps.getApp({id:“net.i-dev.betterlogic” });
log(BLApp);
BLApp.apiPut(‘TestStr/’ + testStr);
Script Error
Type Error: BLApp.apiPut is not a function
Thanks!