elden1337 / hass-peaqhvac

Home Assistant custom component to help hvac-systems stay below peak hourly energy levels and prioritize cheap hours to heat your home.
Other
7 stars 2 forks source link

Save price during reboot #134

Open enoch85 opened 1 month ago

enoch85 commented 1 month ago

As of version 3.1.4, the price resets in the money control during each reboot. It would be nice if the price was saved instead, maybe with an option to reset.

elden1337 commented 1 month ago

Which indicator do you mean specifically and how do you notice that it is reset?

enoch85 commented 1 month ago

This seems to reset to the current value on each reboot. It's all the "average" meters.

Screenshot_2024-10-08-11-06-20-81_c3a231c25ed346e59462e84656a70e50

elden1337 commented 1 month ago

Make sure they are included in your recorder.py if you have altered that. I dont have that problem.

enoch85 commented 1 month ago

Make sure they are included in your recorder.py if you have altered that. I dont have that problem.

I deleted the app with files and everything, really purged it to make sure I was on the released version (remember when I had issues updating?), so without checking I'm pretty sure everything is there. :)

enoch85 commented 1 month ago

Just checking, where are the recorder.py suppose to be located?

elden1337 commented 1 month ago

If you havent made changes you dont have the file at all. Same dir as configuration.yaml

Could also be how your instance reboots perhaps

enoch85 commented 1 month ago

Could also be how your instance reboots perhaps

Well it's just a normal HAOS setup with HACS and a bunch of apps. How do you mean? In which order things are booting?

elden1337 commented 1 month ago

Idk. But mine doesnt do it. Rpi. Ill check if theres any discrepancy between those peaqhvac only sensors and the ones joined with peaqev

enoch85 commented 1 month ago

Just tried a manual reload of just peaqhvac and it's the same behavior - prices reset to 0.