Skip to content

Commit

Permalink
Merge pull request #1897 from openWB/feature_device_list
Browse files Browse the repository at this point in the history
fix missed vendor information
  • Loading branch information
benderl authored Sep 24, 2024
2 parents 8e5a450 + 1f62475 commit 2172d7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/modules/devices/sigenergy/sigenergy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from helpermodules.auto_str import auto_str

from modules.common.component_setup import ComponentSetup
from ..vendor import vendor_descriptor


class SigenergyConfiguration:
Expand All @@ -20,6 +21,7 @@ def __init__(self,
configuration: SigenergyConfiguration = None) -> None:
self.name = name
self.type = type
self.vendor = vendor_descriptor.configuration_factory().type
self.id = id
self.configuration = configuration or SigenergyConfiguration()

Expand Down
2 changes: 2 additions & 0 deletions packages/modules/devices/solis/solis/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from modules.common.component_setup import ComponentSetup
from modules.devices.solis.solis.version import SolisVersion
from ..vendor import vendor_descriptor


class SolisConfiguration:
Expand All @@ -23,6 +24,7 @@ def __init__(self,
configuration: SolisConfiguration = None) -> None:
self.name = name
self.type = type
self.vendor = vendor_descriptor.configuration_factory().type
self.id = id
self.configuration = configuration or SolisConfiguration()

Expand Down

0 comments on commit 2172d7a

Please sign in to comment.