I would like to turn on and off switches in Home Assistant with REST API, mainly to let it interact with my Tasker.
I read official documentation but I do not understand how I should structure my call to change a switch status.
I think I need to use POST but what would be the request structure?
All working for me, for now, is the simplest GET:
http://myip:8123/api/?api_password=mypassword
Thanks for your time and patience.
--
You received this message because you are subscribed to the Google Groups "Home Assistant Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/d9033ae9-50db-4202-92d6-f367a9b95930%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.