Switch with url string

Hello, I need your help.
I have a switch that can be switched on and off via a url command.
What is the best way to integrate it into the Home Assistant



Hi, zoogara

Can you please send me an example?

Actually - although the RESTful switch says it supports the GET method - I think you will have issues implementing it as it only supports GET for retrieving state.

The method in this post looks like it might work: