Pie widget to display power consumption in my house,

See here for a partial explanation:

It is possible that you can find a similar solution to the one presented in the post above, but 1) your expression will be slightly more complex, as you have an array of objects instead of just an array of strings and 2) I don’t know if expressions will work at all in this particular instance: