All-Time Cost Sensor
gregbarreiro opened this issue · 4 comments
Tnx for this integration!
It would be nice to have an all-time cost sensor. I have some integrations that I would like to track the energy cost thru it's lifetime.
I would also like this! 👍
I think best would be to make the periods configurable, when you first configure the integration, as there is also a request for weekly 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 no reset period.
I was hoping it would just give 1 incrementing all time cost sensor just like the kWh sensor itself. That way you can calculate the usage over any interval. Users who want to have day/week/month based utility sensors could then just make one for that. Resetting values like the one provided are really inflexible for something like grafana