From f4c0faf6a1352edb9ee77518ae6b9dc2cdc64715 Mon Sep 17 00:00:00 2001 From: Joshua Leaper Date: Mon, 4 Nov 2024 23:56:43 +1030 Subject: [PATCH] Enable it on reset_config --- custom_components/alphaess/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/alphaess/coordinator.py b/custom_components/alphaess/coordinator.py index 9b2207f..5dab61b 100644 --- a/custom_components/alphaess/coordinator.py +++ b/custom_components/alphaess/coordinator.py @@ -77,7 +77,7 @@ async def reset_config(self, serial): return_charge_data = await self.api.updateChargeConfigInfo(serial, batHighCap, 1, "00:00", "00:00", "00:00", "00:00") - return_discharge_data = await self.api.updateDisChargeConfigInfo(serial, batUseCap, 0, "00:00", "00:00", + return_discharge_data = await self.api.updateDisChargeConfigInfo(serial, batUseCap, 1, "00:00", "00:00", "00:00", "00:00") _LOGGER.info(