Switch button witch triggers service calls

I’ve created two services calls which are running script remotly on a linux macchine (poweron and off).
Can i create a lovelace button with status on/off so it triggers on/off script.

yes.
go to config - automations - helpers

make a button helper

You have made this in the Node Red section, so I guess you are using Node Red.
Node Red should have HA entity nodes available and there is a button entity also, but since there are two scripts, then a HA switch node might be better.

That did the trick, thanks!