martinarva / dynamic_energy_cost

35 stars 9 forks source link

Weekly costs #21

Closed jluyten closed 5 days ago

jluyten commented 1 month ago

Hi

I love the fact that you made this on a daily, monthly and yearly basis!

Is it possible to also add a weekly number?

Cheers!

Jannik

martinarva commented 1 month ago

I think best would be to make the periods configurable, when you first configure the integration, as there is also a request for all time cost. For now, I don't have an idea how to do this, but will look into it.

Meanwhile I recommend to use HA-s built in Utility Meter. Feed in any of the cost entities and choose reset period of one week.

martinarva commented 5 days ago

Done by @JannikL87 in pull request https://github.com/martinarva/dynamic_energy_cost/pull/34 and will be included in the next release.