Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@on(Action.MeterValues)
def meter_values(self):
pass
@on("BootNotification")
def on_boot_notification(reason, charging_station, **kwargs):
assert reason == 'PowerUp'
assert charging_station == {
'vendor_name': 'ICU Eve Mini',
'firmware_version': "#1:3.4.0-2990#N:217H;1.0-223",
'model': 'ICU Eve Mini',
}
return call_result.BootNotificationPayload(
current_time='2018-05-29T17:37:05.495259',
interval=350,
status='Accepted',
)