Energy Dashboard Entity Configration

Hi,
I would like to ask if there is a tutorial how to setup the Energy Dashboard.
The following is how I setup mine (more than a year ago) and I am not sure it is the ideal way

I created a utility meter / hourly using the yaml config - is this required? if so can I use a Helper now since a Utility meter is now available?

utility_meter:
hourly_energy_mains:
source: sensor.energy_meter_mains_energy
cycle: hourly

Then I used this entity in the Energy Meter config. It is working fine, hourly, daily, etc are all OK, but I am not sure if there is a better way. Currently I am just testing and playing with the Energy Dashboard but in a view months I will add solar panels and batteries and would like to configure them correctly.