Register-device-node Category and Capabilities - what payload?

I presume you use the API documentation here, but I agree these are not clearly specified.
You may find interesting some earlier threads on this theme

but I haven’t tried with energy devices and at this moment I don’t have time but will get back if I can.