diff --git a/openems/api.py b/openems/api.py index 18e8784..0bebd36 100644 --- a/openems/api.py +++ b/openems/api.py @@ -58,7 +58,7 @@ async def f(): } if resolution_sec: params['resolution'] = { - 'value': 1, + 'value': resolution_sec, 'unit': 'SECONDS', } r_edge_rpc = await server.edgeRpc(edgeId=edge_id, payload={