How to add web device

I have a third part wed device. I can control the device in the web site such as on or off. I just have the web user ID and password and there is no token at all. How can add the device to home assistant? Or how can I make the python customized code? thanks!

What’s the api endpoint? You can use a REST switch. If you need help post more info.

To build a component read the developer site.

1 Like

Hi Metbril,
what is you email? I want to send more info to you. thanks!

You can post in this topic so others can help you, too.

i have found the following service at https://www.home-assistant.io/components/rest_command/. How can build a dummy device and use the above service?