summaryrefslogtreecommitdiff
path: root/src/home/api/web_api_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/api/web_api_client.py')
-rw-r--r--src/home/api/web_api_client.py4
1 files changed, 2 insertions, 2 deletions
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
})