Skip to content

Commit

Permalink
Merge pull request #354 from fboundy/patch
Browse files Browse the repository at this point in the history
Fix for #353
  • Loading branch information
fboundy authored Jan 3, 2025
2 parents 75f89d9 + 1a2b4e6 commit 369f420
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
# Output the release notes
echo -e "Release notes generated:\n${RELEASE_NOTES}"
echo "release_notes<<EOF" >> $GITHUB_ENV
echo -e "${RELEASE_NOTES}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "${RELEASE_NOTES}" > release_notes.txt
echo "RELEASE_NOTES=$(<release_notes.txt)" >> $GITHUB_ENV
# Step 5: Create GitHub Release
- name: Create GitHub Release
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PV Opt: Home Assistant Solar/Battery Optimiser v4.0.4
# PV Opt: Home Assistant Solar/Battery Optimiser v4.0.5


Solar / Battery Charging Optimisation for Home Assistant. This appDaemon application attempts to optimise charging and discharging of a home solar/battery system to minimise cost electricity cost on a daily basis using freely available solar forecast data from SolCast. This is particularly beneficial for Octopus Agile but is also benefeficial for other time-of-use tariffs such as Octopus Flux or simple Economy 7.
Expand Down
2 changes: 1 addition & 1 deletion apps/pv_opt/pv_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import pvpy as pv
from numpy import nan

VERSION = "4.0.4"
VERSION = "4.0.5"
UNITS = {
"current": "A",
"power": "W",
Expand Down
2 changes: 1 addition & 1 deletion apps/pv_opt/pvpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ def _high_cost_swaps(self, log=True):
else:
if log:
self.log(str_log + "No search window")
done = True
tested.loc[max_slot] = True
else:
done = True
else:
Expand Down

0 comments on commit 369f420

Please sign in to comment.