Best way to trigger a flow from homeyscript

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");
2 Likes