Shell command in automation


I want to execute 3 curl commands (maybe It is possible to do something else.

In my configuration.yaml,I merge :

  sendon: curl
  sendoff: curl
  puissance: curl

In my automation, I select Other–>call service

I write in it : shell_command.sendon

I save, homeassistant says : Error in describing action: undefined has no properties

What am I doing wrong ?

Thank you very much.

RESTART was the trick !!

Did you restart home assistant after creating your shell commands?

It is also wise to quote your commands:

  sendon: 'curl'
  sendoff: 'curl'
  puissance: 'curl'

Also note that this exists: