Energy Widget like in Home Assistant Demo

dear All

here you can find the first version of configurable widget.

Let me know if you find some bugs or if you have suggestion for improve it