summaryrefslogtreecommitdiff
path: root/src/inverter_bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/inverter_bot.py')
-rwxr-xr-xsrc/inverter_bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inverter_bot.py b/src/inverter_bot.py
index d35e606..1dd167e 100755
--- a/src/inverter_bot.py
+++ b/src/inverter_bot.py
@@ -28,7 +28,7 @@ from home.inverter.types import (
)
from home.database.inverter_time_formats import FormatDate
from home.api.types import BotType
-from home.api import WebAPIClient
+from home.api import WebApiClient
from telegram import ReplyKeyboardMarkup, InlineKeyboardMarkup, InlineKeyboardButton
@@ -718,7 +718,7 @@ class ConsumptionConversation(bot.conversation):
message = ctx.reply(ctx.lang('consumption_request_sent'),
markup=bot.IgnoreMarkup())
- api = WebAPIClient(timeout=60)
+ api = WebApiClient(timeout=60)
method = 'inverter_get_consumed_energy' if state == self.TOTAL else 'inverter_get_grid_consumed_energy'
try: