How to automate your lights using a Shelly 1PM