Http switch for nodemcu?

I have a tv that i made a tv lift for. Its controlled with a nodemcu for lifting up and down.
I also control the tv power and volume. I used blynk for this and currently im using tasker to send http commands to turn it on and off. I send one command to turn the ir led on, and then one to turn it off after 1 sek. So its to http gets with a one second delay. Is this possible to make a switch for in hass.io?