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

Entity money-saved is gone in latest 1.10 release #59

Closed moorboss closed 1 year ago

moorboss commented 1 year ago

After updating the sw version to 1.10 it turns out that the money-saved entity is gone in the inetegration. Eeverything else looks OK, but this item is not available anymore.

hif2k1 commented 1 year ago

Have you got the "money saved on imports" and "money saved on exports". Any errors in the logs? Also if you make a new battery does it work?

moorboss commented 1 year ago

In the past versions there was only 1 tariff applied, now it has been expanded, it doesn't seem to be backward compatible. Creating a new battery works, but then I loos my historical data, which I don't want, since I'm calculating the battery benefits over months now already. I don't have the sensors money saved on imports/exports There is nog log entry showing an error on this.

hif2k1 commented 1 year ago

Ok so it is a backwards compatibility issue. I will try and work out a fix.

On Thu, 2 Feb 2023, 14:05 Moorboss, @.***> wrote:

In the past versions there was only 1 tariff applied, now it has been expanded, it doesn't seem to be backward compatible. Creating a new battery works, but then I loos my historical data, which I don't want, since I'm calculating the battery benefits over months now already. I don't have the sensors money saved on imports/exports There is nog log entry showing an error on this.

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/59#issuecomment-1413799148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGLMO324AAX3XRSDQY3WVO5KPANCNFSM6AAAAAAUMFSMPU . You are receiving this because you commented.Message ID: @.***>

hif2k1 commented 1 year ago

Just published an update that hopefully fixes this for you.

moorboss commented 1 year ago

Unfortunately it is not solved, the total-money-saved entity is not available, also not in this modified 1.10 version.

hif2k1 commented 1 year ago

Sorry, I'm not great at GitHub. The wrong files were uploaded. Should be working now.

moorboss commented 1 year ago

It is working now, nevertheless, the entities have been resetted to zero again...

hif2k1 commented 1 year ago

Ah, sorry. I tried to get the fix done as quick as possible, but it must have been too slow and the data from before the update expired so it couldn't be restored.

On Wed, 8 Feb 2023 at 08:16, Moorboss @.***> wrote:

It is working now, nevertheless, the entities have been resetted to zero again...

— Reply to this email directly, view it on GitHub https://github.com/hif2k1/battery_sim/issues/59#issuecomment-1422202217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAIZGJXOZA2ZZQCQNBNWTLWWNI4ZANCNFSM6AAAAAAUMFSMPU . You are receiving this because you modified the open/close state.Message ID: @.***>