rcasula / kostalpiko-homeassistant

19 stars 14 forks source link

Make daily energy compatible with energy management #24

Closed m-rossi closed 1 year ago

m-rossi commented 1 year ago

I recently started using your integration, first of all: Thanks!

I wanted to use the daily energy in the energy management dashboard instead of the overall total as it is more accurate, however it is not compatible as last_reset is somehow missing. I searched the docs and it seems defining a last_reset is no longer necessary and we can use total_increasing as type instead. This PR changes this.

I am running my setup a few days with this change and it seems to work.

This may also close #18.

rcasula commented 1 year ago

Thanks @m-rossi for your help.

pergolafabio commented 1 year ago

much appreciated!