WTH Cant i change energy price per month, or change it after that mont and recalculate

ive have a flexible energy contact, i want to change the prices monthly. i can change the price of the entity thats used in the energy dahsboard but when i am 1 day late it cant be recaluculated anymore

You can create a price sensor (template) where it depends on date but for that you should change this sensor before new price starts.

I’d like to see some solution to change price history too but probably it is too complicated to change old data.

2 Likes

Indeed the price template sensor could be used to “dynamically” determine the price to be used with if statements for when date is x.
However, it would be easier (next to possible reverse fixing pricing in case your to late) to have an option in the energy configuration to mark an new static tariff with an start date.
(Would be more user friendly less technical people like my parents. Who are able to perform basic tasks via the UI if explained but who I wouldn’t want anywhere near the yaml configuration to reduce the number of support calls)

1 Like

Thing is that a lot of users don’t have such one tariff with a start date but there are different tariffs.

For example, my price depends on two different duties, discounts, VAT (that also changed once), time/date and electricity part which is different in every hour.

So, basically the only option is just to save energy usage hour by hour and always (re)calculate sum after such changes. There is no simple way to just correct the historical data.

1 Like