Entity as button that triggers http get

Hello all!

I set up a entity in NodeRed called V5 with the following http request. (first http request is to set a pin to 1 followed by a delay and setting a pin back to 0

In HomeAssistant I added a button card as follow:

Sadly… nothing happens, that’s why I am here. Any tips how I could fix this or solve it?

Thanks in advance for the help!

You could try replacing the V5 node with an Inject node, then you can use the inject node to kick off this flow, and see if the http request/delay/req nodes work as expected.

You can also add a debug node on the output of V5, and see when happens when you push it in HA

The entity node should be of type switch and then you need to use the service call nodered.trigger

image

ah that’s what i was missing also.

although I think it’s service_data not data in the button configuration

Kermit was right and serkank as well. It’s indeed service_data! Solved that one myself haha!

Thanks guys!