hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
106 stars 13 forks source link

Question about warning on decreasing utility meter #107

Closed 42Craft closed 6 months ago

42Craft commented 6 months ago

I have a question regarding the utility_meter component for import_sensor and export_sensor. In the documentation it statess it has to be _cummlatively (e.g. output of a utilitymeter component).

Since I received a warning on a decreased value I assume that the sensors cannot be reset. I am using utility meters that measure daily use, hence they reset every day.

hif2k1 commented 6 months ago

Don't worry, you can just ignore the warning. Most people have a utility meter that counts up continuously so it would be unexpected for it to ever go down. In that case you'd want to know something wasn't working. However, in your case it is expected behaviour. Maybe I should remove the warning.

On Fri, 22 Dec 2023, 08:30 Vincent, @.***> wrote:

I have a question regarding the utility_meter component for import_sensor and export_sensor. In the documentation it statess it has to be cummlatively (e.g. output of a utility_meter component).

Since I received a warning on a decreased value I assume that the sensors cannot be reset. I am using utility meters that measure daily use, hence they reset every day.

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGNYEISHI2Y56NOULZTYKVAL3AVCNFSM6AAAAABA7QMBY2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TGNJWHE2TGMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

42Craft commented 6 months ago

Maybe change it from warning to debug? Anyway, thanks for this wonderful integration. 👍