@@ -106,6 +106,7 @@ def __init__( # pylint: disable=too-many-arguments
106106 active_power_exclusion_lower_bound : float = math .nan ,
107107 active_power_inclusion_upper_bound : float = math .nan ,
108108 active_power_exclusion_upper_bound : float = math .nan ,
109+ frequency : float = 50.0 ,
109110 _component_state : inverter_pb .ComponentState .ValueType = (
110111 inverter_pb .ComponentState .COMPONENT_STATE_UNSPECIFIED
111112 ),
@@ -125,6 +126,7 @@ def __init__( # pylint: disable=too-many-arguments
125126 active_power_inclusion_upper_bound = active_power_inclusion_upper_bound ,
126127 active_power_exclusion_upper_bound = active_power_exclusion_upper_bound ,
127128 _component_state = _component_state ,
129+ frequency = frequency ,
128130 _errors = _errors if _errors else [],
129131 )
130132
@@ -154,6 +156,7 @@ def __init__( # pylint: disable=too-many-arguments
154156 active_power : float = math .nan ,
155157 current_per_phase : Tuple [float , float , float ] | None = None ,
156158 voltage_per_phase : Tuple [float , float , float ] | None = None ,
159+ frequency : float = 50.0 ,
157160 cable_state : EVChargerCableState = EVChargerCableState .UNSPECIFIED ,
158161 component_state : EVChargerComponentState = EVChargerComponentState .UNSPECIFIED ,
159162 ) -> None :
@@ -176,6 +179,7 @@ def __init__( # pylint: disable=too-many-arguments
176179 if voltage_per_phase
177180 else (math .nan , math .nan , math .nan )
178181 ),
182+ frequency = frequency ,
179183 cable_state = cable_state ,
180184 component_state = component_state ,
181185 )
0 commit comments