From 5fcafcbfc3ca4f7e915b11c8ef31d07f20b439e8 Mon Sep 17 00:00:00 2001 From: LKuemmel Date: Fri, 19 Apr 2024 15:13:33 +0200 Subject: [PATCH] fix alphaess --- packages/modules/devices/alpha_ess/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/modules/devices/alpha_ess/device.py b/packages/modules/devices/alpha_ess/device.py index 516415a783..d517cfe961 100644 --- a/packages/modules/devices/alpha_ess/device.py +++ b/packages/modules/devices/alpha_ess/device.py @@ -2,7 +2,7 @@ import logging from typing import Iterable, Union -from modules.common.configurable_device import ComponentFactoryByType, ConfigurableDevice, IndependentComponentUpdater +from modules.common.configurable_device import ComponentFactoryByType, ConfigurableDevice, MultiComponentUpdater from modules.devices.alpha_ess.config import AlphaEss, AlphaEssBatSetup, AlphaEssCounterSetup, AlphaEssInverterSetup from modules.common import modbus from modules.common.abstract_device import DeviceDescriptor @@ -60,7 +60,7 @@ def update_components(components: Iterable[Union[alpha_ess_component_classes]]): counter=create_counter_component, inverter=create_inverter_component, ), - component_updater=IndependentComponentUpdater(update_components) + component_updater=MultiComponentUpdater(update_components) )