Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/predbat/gecloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,9 @@ async def async_automatic_config(self, devices):
self.base.args["pause_end_time"] = ["select.predbat_gecloud_" + device + "_pause_battery_end_time" for device in batteries]
if "givtcp_rest" in self.base.args:
del self.base.args["givtcp_rest"]
self.base.args["ge_cloud_serial"] = batteries[0]

# Use the first battery serial for the ge_cloud_serial (for status)
self.base.args["ge_cloud_serial"] = devices["battery"][0]

# reconfigure for EMS
if devices["ems"]:
Expand Down