Skip to content

Commit

Permalink
Merge pull request #1575 from LKuemmel/fix
Browse files Browse the repository at this point in the history
fix alphaess
  • Loading branch information
LKuemmel authored Apr 19, 2024
2 parents 88109a5 + 5fcafcb commit 2e42626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/modules/devices/alpha_ess/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
)


Expand Down

0 comments on commit 2e42626

Please sign in to comment.