diff --git a/apps/predbat/gecloud.py b/apps/predbat/gecloud.py index 1f18f6b54..17fb259b3 100644 --- a/apps/predbat/gecloud.py +++ b/apps/predbat/gecloud.py @@ -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"]: