How do I set Hue Light brightness, color etc?

It sounds like you are using home assistant, not everyone here is using that. You may want to refer to the documentation of the home assistant nodes on how to send messages back to home assistant (and in what format).