From 3c6cc6528cdd1bb2adaaded5f5f36e6df25b7bfd Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sun, 6 Nov 2022 20:12:45 +0300 Subject: api/client: fix inverter get methods --- src/home/api/web_api_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/home/api/web_api_client.py') diff --git a/src/home/api/web_api_client.py b/src/home/api/web_api_client.py index 2884ddb..aac81a0 100644 --- a/src/home/api/web_api_client.py +++ b/src/home/api/web_api_client.py @@ -107,13 +107,13 @@ class WebAPIClient: return files def inverter_get_consumed_energy(self, s_from: str, s_to: str): - return self._post('inverter/get_consumed_energy/', { + return self._post('inverter/consumed_energy/', { 'from': s_from, 'to': s_to }) def inverter_get_grid_consumed_energy(self, s_from: str, s_to: str): - return self._post('inverter/get_grid_consumed_energy/', { + return self._post('inverter/grid_consumed_energy/', { 'from': s_from, 'to': s_to }) -- cgit v1.2.3