Skip to content

Commit 272706e

Browse files
committed
fix: fix forgetting use resolution_sec argument
1 parent a1f9ad8 commit 272706e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openems/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def f():
5858
}
5959
if resolution_sec:
6060
params['resolution'] = {
61-
'value': 1,
61+
'value': resolution_sec,
6262
'unit': 'SECONDS',
6363
}
6464
r_edge_rpc = await server.edgeRpc(edgeId=edge_id, payload={

0 commit comments

Comments
 (0)