I want to send a http request in the last step of automation

Because I want to send an API request, which is a message notification API interface. I need to implement some sensors to detect moisture or smoke, and then push the message to my bark and group robots through this http get request. Unfortunately, I didn’t find how to do this.

Hi welcome to the forum!

Have a look at Integrations - Home Assistantsearch ‘rest’

Thank you, I am not a professional developer, so I hope to be able to directly request an API link in the last step of the automation execution

Not many of us are professional developers. It’s not possible to directly request it, but you can write a RESTful command:

Top of the page shows you how to configure it; example at the bottom shows how to use it in an automation.

1 Like