Skip to content

Commit

Permalink
fix: added no battery schedule to output
Browse files Browse the repository at this point in the history
  • Loading branch information
enell committed Feb 7, 2023
1 parent 200c10a commit 89877bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/strategy-battery-charging.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ const node = (RED) => {
msg.payload.excessPvEnergyUse = strategy.best.excessPvEnergyUse
msg.payload.cost = strategy.best.cost
msg.payload.noBattery = {
schedule: strategy.best.schedule,
excessPvEnergyUse: strategy.best.excessPvEnergyUse,
cost: strategy.best.cost,
schedule: strategy.noBattery.schedule,
excessPvEnergyUse: strategy.noBattery.excessPvEnergyUse,
cost: strategy.noBattery.cost,
}
}
msg.payload = payload
Expand Down

1 comment on commit 89877bc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compare with master

Benchmark suite Current: 89877bc Previous: 5e7d040 Ratio
calculate schedule 564364 ops/sec (±0.37%) 3.1 ops/sec (±2.14%) 0.000005492908831888639

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.