From 4fc2fdde3ac90310b5f9551505c6d3a53c4c3387 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 31 Dec 2024 15:23:19 +0000 Subject: [PATCH 1/2] Fix version and update README.md to 4.0.2 --- README.md | 2 +- apps/pv_opt/pv_opt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eaf6768..b7761f7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PV Opt: Home Assistant Solar/Battery Optimiser v4.0.1 +# PV Opt: Home Assistant Solar/Battery Optimiser v4.0.2 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. diff --git a/apps/pv_opt/pv_opt.py b/apps/pv_opt/pv_opt.py index 72b1faf..7999243 100644 --- a/apps/pv_opt/pv_opt.py +++ b/apps/pv_opt/pv_opt.py @@ -13,7 +13,7 @@ import pvpy as pv from numpy import nan -VERSION = "4.0.1" +VERSION = "4.0.2" UNITS = { "current": "A", "power": "W", From 3197775f9b19096e4eabf5151cd179e3f3d5960b Mon Sep 17 00:00:00 2001 From: fboundy Date: Tue, 31 Dec 2024 15:27:18 +0000 Subject: [PATCH 2/2] Updated workflow --- .github/workflows/auto_release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto_release.yaml b/.github/workflows/auto_release.yaml index 06ca3bb..ecb9266 100644 --- a/.github/workflows/auto_release.yaml +++ b/.github/workflows/auto_release.yaml @@ -76,7 +76,7 @@ jobs: run: | git push origin HEAD:patch - - name: Create Pull Request for Main + - name: Create or Update Pull Request for Main uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -84,9 +84,10 @@ jobs: base: main title: "Automated Version Fix and README Update" body: | - This pull request was automatically created to fix the version number and update the README.md file. + This pull request was automatically created or updated to fix the version number and update the README.md file. + Please review and merge to apply these changes to the main branch. labels: automated - update-existing: true + delete-branch: false publish-release: name: Publish Release