|
23 | 23 | RegistrationStatus,
|
24 | 24 | RemoteStartStopStatus,
|
25 | 25 | ResetStatus,
|
| 26 | + TriggerMessageStatus, |
26 | 27 | UnlockStatus,
|
27 | 28 | )
|
28 | 29 |
|
@@ -80,7 +81,7 @@ def on_get_configuration(self, key, **kwargs):
|
80 | 81 | """Handle a get configuration requests."""
|
81 | 82 | if key[0] == ConfigurationKey.supported_feature_profiles.value:
|
82 | 83 | return call_result.GetConfigurationPayload(
|
83 |
| - configuration_key=[{"key":key[0], "readonly": False, "value": "Core,FirmwareManagement,SmartCharging"}] |
| 84 | + configuration_key=[{"key":key[0], "readonly": False, "value": "Core,FirmwareManagement,RemoteTrigger,SmartCharging"}] |
84 | 85 | )
|
85 | 86 | if key[0] == ConfigurationKey.heartbeat_interval.value:
|
86 | 87 | return call_result.GetConfigurationPayload(configuration_key=[{"key":key[0], "readonly": False, "value":"300"}])
|
@@ -131,6 +132,11 @@ def on_remote_start_transaction(self, **kwargs):
|
131 | 132 | def on_set_charging_profile(self, **kwargs):
|
132 | 133 | """Handle set charging profile request."""
|
133 | 134 | return call_result.SetChargingProfilePayload(ChargingProfileStatus.accepted)
|
| 135 | + |
| 136 | + @on(Action.TriggerMessage) |
| 137 | + def on_trigger_message(self, **kwargs): |
| 138 | + """Handle set charging profile request.""" |
| 139 | + return call_result.TriggerMessagePayload(TriggerMessageStatus.accepted) |
134 | 140 |
|
135 | 141 | async def send_boot_notification(self):
|
136 | 142 | """Send a boot notification."""
|
|
0 commit comments