Google, node-red-contrib-googlehome set level

thank you
msg.payload = brightness
and

msg.payload = { "command": "switchlight", "idx": 64, "switchcmd": "Set Level", "level": brightness };

did the trick
That I didn't see that.