Hello!
I created a MQTT switch for the Shelly1. But everytime I reboot the Home Assistant Host- the Shelly 1 toggles. Is it a bug? Or have I missed something in my configruation?
You really should not be using this if you don’t understand what it is doing. It causes the last COMMAND to be retained, not as you might have believed the state of the switch.
Remove it from the configuration.yaml AND remove it from your brokers database.