Skip to content

Commit

Permalink
fix button push crash (#1780)
Browse files Browse the repository at this point in the history
* fix button push crash

#1778

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
  • Loading branch information
springfall2008 and pre-commit-ci-lite[bot] authored Dec 22, 2024
1 parent 79627ba commit 73c5f16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/predbat/inverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ def adjust_charge_window(self, charge_start_time, charge_end_time, minutes_now):
if old_charge_schedule_enable == "off" or old_charge_schedule_enable == "disable":
self.base.log("Inverter {} Turning on scheduled charge".format(self.id))

def press_and_poll_button(self, entity_id):
def press_and_poll_button(self):
"""
Call a button press service (Solis) and wait for the data to update
"""
Expand Down
2 changes: 1 addition & 1 deletion apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import asyncio
import json

THIS_VERSION = "v8.8.12"
THIS_VERSION = "v8.8.13"

# fmt: off
PREDBAT_FILES = ["predbat.py", "config.py", "prediction.py", "gecloud.py","utils.py", "inverter.py", "ha.py", "download.py", "unit_test.py", "web.py", "predheat.py", "futurerate.py", "octopus.py", "solcast.py","execute.py", "plan.py", "fetch.py", "output.py", "userinterface.py"]
Expand Down

0 comments on commit 73c5f16

Please sign in to comment.