Better logic with homeyscript

I’m not so into better logic yet since built in logic works great for me so far. Homeys own API works nice for crud operations in logic variables.