@@ -71,25 +71,25 @@ def __init__(self, id, connection, response_timeout=30):
71
71
def on_get_configuration (self , key , ** kwargs ):
72
72
"""Handle a get configuration requests."""
73
73
if key == ConfigurationKey .supported_feature_profiles .value :
74
- return call_result .GetConfigurationPayload (
74
+ return call .GetConfigurationPayload (
75
75
configuration_key = ["Core" , "FirmwareManagement" , "SmartCharging" ]
76
76
)
77
77
if key == ConfigurationKey .heartbeat_interval .value :
78
- return call_result .GetConfigurationPayload (configuration_key = "300" )
78
+ return call .GetConfigurationPayload (configuration_key = "300" )
79
79
if key == ConfigurationKey .number_of_connectors .value :
80
- return call_result .GetConfigurationPayload (configuration_key = "1" )
80
+ return call .GetConfigurationPayload (configuration_key = "1" )
81
81
if key == ConfigurationKey .web_socket_ping_interval .value :
82
- return call_result .GetConfigurationPayload (configuration_key = "60" )
82
+ return call .GetConfigurationPayload (configuration_key = "60" )
83
83
if key == ConfigurationKey .meter_values_sampled_data .value :
84
- return call_result .GetConfigurationPayload (
84
+ return call .GetConfigurationPayload (
85
85
configuration_key = "Energy.Reactive.Import.Register"
86
86
)
87
87
if key == ConfigurationKey .meter_value_sample_interval .value :
88
- return call_result .GetConfigurationPayload (configuration_key = "60" )
88
+ return call .GetConfigurationPayload (configuration_key = "60" )
89
89
if key == ConfigurationKey .charging_schedule_allowed_charging_rate_unit .value :
90
- return call_result .GetConfigurationPayload (configuration_key = "Current" )
90
+ return call .GetConfigurationPayload (configuration_key = "Current" )
91
91
if key == ConfigurationKey .authorize_remote_tx_requests .value :
92
- return call_result .GetConfigurationPayload (configuration_key = "false" )
92
+ return call .GetConfigurationPayload (configuration_key = "false" )
93
93
94
94
@on (Action .ChangeConfiguration )
95
95
def on_change_configuration (self , ** kwargs ):
0 commit comments