Update mqtt device with service call node?

I have the mqtt integration in HA and it working. Can I use the call service node in node red to update a mqtt device? Or do I have to use node red:s own mqtt nodes?

I tried the service call node but it complains that it missing username and password and server. Which all is setup in home assistant integrations.

If you can make the service call from the developer tools in HA, then you should be able to go to YAML mode and see the settings needed for the service call setup in NR.

You could also just use the NR MQTT nodes.

Which method is best practise?

No idea.
I think they are both considered good.