With Shelly’s scripting language, plus support for Matter, Wi-Fi, and Zigbee, the Shelly Plug Gen4 promises smart home users far more than simple on/off control.