As you might guess from this post I’m an absolute beginner with HA. I’m trying to add one Shelly 1 to Home Assistant and to do so I’m trying to set up a RESTfull switch.
The thing is that the configuration seems to be correct however the switch does not show up anywhere (entities and dev tools). I’ve already restarted HA several times.
I’ve tried to use ShellyForHass, It worked on first try. But after a restart of HA, I lost control over the Shelly and didn’t manage to get it to work again.
So in order to prevent this happening again I thought it would be more resilient if I wrote the code my self.
It’s fairly straighforward, setup a MQTT broker (if you haven’t already), enable MQTT in the shelly webpage (not the phone app), and setup a template switch/light.