How to control a Shelly Dimmer wireless from an Input module with dimming

I made this tutorial for a customer. I am showing how to control a Shelly Pro Dimmer 1PM or 2PM from a Shelly input module (Shelly I4 Gen3). Note that the script will work with inputs from any relays like a Shelly 1 Mini. Link to scrips: https://shelly.guide/scripting/wirele...