I am trying to migrate all of my devices from Homebridge to Homeassistant. Everything is seemless but I struggle with one set of devices.
I have a few switches which are controlled using esp8266 and triggered by url.
These switches are stateless however I do not know their current state and I do not need to know it. The same url turns the device on and then off.
Here is the configuration I had in homebridge:
I tried using REST Switch with the following configuration:
- platform: rest
I was able to control the lights but they were being turned on and off periodically. (I am guessing when it was trying to get the state?)
How would I go around making stateless switch using rest?