Node Red service call help

Hello everybody.

Trying to give node red a run put I am having issues with a service call. I am just trying to copy an automation I already have running and I am stuck at the service call. The error I get is “Call-service error. required key not provided @ data[‘minutes’]”.

I am not sure how to fix this. I need to send the value 10 minutes but dont know how to do it.

In the call service node you have to send the data as a JSON value. For example, to send brightness, you would put this in the data field:

{"brightness_pct":80}

What are you trying to control? You can try this:

{"minutes":10}

Thanks. I thought it may have been something like this but wasn’t sure.

It’s time for the air conditioning / heater.