diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-11 02:07:51 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-11 02:07:51 +0300 |
commit | 1d0b9c5d1c90c4f7c7a6eb0c3cf32ffb843f2533 (patch) | |
tree | eca16553441cbaf89db54ac6e0ad4d8ccc831c4a /bin/inverter_bot.py | |
parent | 00b3cd120f6357a35ef7e8b1c3ffad458a068266 (diff) |
telegram bots: get rid of requests logging via webapi
Diffstat (limited to 'bin/inverter_bot.py')
-rwxr-xr-x | bin/inverter_bot.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/inverter_bot.py b/bin/inverter_bot.py index fdfe436..7da21aa 100755 --- a/bin/inverter_bot.py +++ b/bin/inverter_bot.py @@ -28,7 +28,6 @@ from homekit.inverter.types import ( OutputSourcePriority ) from homekit.database.inverter_time_formats import FormatDate -from homekit.api.types import BotType from homekit.api import WebApiClient from telegram import ReplyKeyboardMarkup, InlineKeyboardMarkup, InlineKeyboardButton @@ -921,7 +920,6 @@ class InverterStore(bot.BotDatabase): inverter.init(host=config['inverter']['ip'], port=config['inverter']['port']) bot.set_database(InverterStore()) -bot.enable_logging(BotType.INVERTER) bot.add_conversation(SettingsConversation(enable_back=True)) bot.add_conversation(ConsumptionConversation(enable_back=True)) |