From 272706e8b4d294e5f5bf88c213f308dde62d5e4f Mon Sep 17 00:00:00 2001 From: Hiromasa Ihara Date: Tue, 29 Oct 2024 14:13:10 +0900 Subject: [PATCH] fix: fix forgetting use resolution_sec argument --- openems/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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={