Thank you so much! Its always nice to have an example. My question was more like “if you already have a thing file at hand”. But this helps.
I was looking into another shelly MQTT Thread - using the shelly mqtt command topic. They “mapped” the “on” value into an “on” command…
I think I will use the RPC via MQTT.