Help me use a ShellyPlus1PM with the MQTT integration in Gladys

Indeed!

Also, I think Shelly handles state feedback; if you want to be properly synchronized (in case of control outside Gladys), you can set up the state feedback by listening on the correct MQTT topic. That can be done via a scene.

But it might be overkill if you only control via Gladys