Home assistant turn on kaku switch

Hello,
I am new with programming home assistant and need a little bit help.

To control the kaku with putty it works. See picture below.
KakuCommand
sudo ./newkaku 123 1 on

But now my problem, i can’t get the code correct in the home assistant (configuration.yaml).

I have tried things like below:

switch:

  • platform: command_line
    switches:
    kitchen_light:
    command_on: sudo ./newkaku 123 1 on
    command_off: sudo ./newkaku 123 1 off

Can anyone help me with the configuration.yaml?
Thank you very much.

Erwin