I'm new to the Shelly world; finding the platform to be quite good so far. Having said that, there appears to be precious little guidance around writing Shelly scripts. "Teaching is the best way to learn", so I wrote some: a two-part post going from ‘first contact’ with a Shelly through to having a script that provides bespoke control of a load:
https://af3556.github.io/posts/shelly-scripting-part1/
Feedback welcome.