Energy cost

Hi!

I wonder if there is any way to read the data from the energy tab to a sensor? I would like to display the cost of the last 24hr and the last 30 days in a lovelace card. Do I need to make an utility meter?

Thanks

1 Like