I haven’t found a way to store Homey variables. But I did managed to set Better Logic variables to store data:
let BLApp = await Homey.apps.getApp({id:"net.i-dev.betterlogic" });
BLApp.apiPut("VariableName/value");
I haven’t found a way to store Homey variables. But I did managed to set Better Logic variables to store data:
let BLApp = await Homey.apps.getApp({id:"net.i-dev.betterlogic" });
BLApp.apiPut("VariableName/value");