fixed battery and grid totals
fixed battery and grid totals

If we can get storedEnergy collection with time, we can edit storedEnergy to storeEnergy.[i-1]. and if i = 0 then set i = 1 so we don't end up out of array bounds.
amymalia/solar-power-app,amymalia/solar-power-app