Hi, why are you using the http binding ? The “usual” way would have been either to use mqtt (which implies a mosquitto broker), flash the sonoff with esphome (and use the new esphome binding), or even use the sonoff firmware (there’s also a binding for that).
I had several problems with the http binding whenever I used “special” characters such as %, so I’m using the SmartHome J/HTTP Binding instead.
Maybe you are also able to expand that binding to read also other (mostly) values from Tasmota like temperature, pressure a.s.o. ???
I run a LOT of Tasmota-Stuff here, which not only have switches, but also provide other information and I would love to have them integrated without MQTT.
The issue might be, that it be not easy, as one do not really know, what kind of data is provided. I even do not know (as I´m not a coder), whether it is possible to get the data via the api (and how). Nevertheless, as said, I run a lot of them and can help with testing and proves.