File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,12 @@ def __init__( # pylint: disable=too-many-arguments
4949 component_category: The category of the component this power manager
5050 instance is going to support.
5151 component_type: The type of the component of the given category that this
52- actor is responsible for.
52+ actor is responsible for. This is used only when the component category
53+ is not enough to uniquely identify the component. For example, when the
54+ category is `ComponentCategory.INVERTER`, the type is needed to identify
55+ the inverter as a solar inverter or a battery inverter. This can be
56+ `None` when the component category is enough to uniquely identify the
57+ component.
5358 proposals_receiver: The receiver for proposals.
5459 bounds_subscription_receiver: The receiver for bounds subscriptions.
5560 power_distributing_requests_sender: The sender for power distribution
Original file line number Diff line number Diff line change @@ -72,7 +72,12 @@ def __init__( # pylint: disable=too-many-arguments
7272 component_category: The category of the components that this actor is
7373 responsible for.
7474 component_type: The type of the component of the given category that this
75- actor is responsible for.
75+ actor is responsible for. This is used only when the component category
76+ is not enough to uniquely identify the component. For example, when the
77+ category is `ComponentCategory.INVERTER`, the type is needed to identify
78+ the inverter as a solar inverter or a battery inverter. This can be
79+ `None` when the component category is enough to uniquely identify the
80+ component.
7681 requests_receiver: Receiver for receiving power requests from the power
7782 manager.
7883 results_sender: Sender for sending results to the power manager.
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ def __init__(
4848 component_category: The category of the components that actors started by
4949 this instance of the PowerWrapper will be responsible for.
5050 component_type: The type of the component of the given category that this
51- actor is responsible for.
51+ actor is responsible for. This is used only when the component category
52+ is not enough to uniquely identify the component. For example, when the
53+ category is `ComponentCategory.INVERTER`, the type is needed to identify
54+ the inverter as a solar inverter or a battery inverter. This can be
55+ `None` when the component category is enough to uniquely identify the
56+ component.
5257 channel_registry: A channel registry for use in the actors.
5358 """
5459 self ._component_category = component_category
You can’t perform that action at this time.
0 commit comments