summaryrefslogtreecommitdiff
path: root/bin/polaris_kettle_bot.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-11 02:07:51 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-11 02:07:51 +0300
commit1d0b9c5d1c90c4f7c7a6eb0c3cf32ffb843f2533 (patch)
treeeca16553441cbaf89db54ac6e0ad4d8ccc831c4a /bin/polaris_kettle_bot.py
parent00b3cd120f6357a35ef7e8b1c3ffad458a068266 (diff)
telegram bots: get rid of requests logging via webapi
Diffstat (limited to 'bin/polaris_kettle_bot.py')
-rwxr-xr-xbin/polaris_kettle_bot.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/polaris_kettle_bot.py b/bin/polaris_kettle_bot.py
index 3a24fe0..05c2aae 100755
--- a/bin/polaris_kettle_bot.py
+++ b/bin/polaris_kettle_bot.py
@@ -10,7 +10,6 @@ import threading
import paho.mqtt.client as mqtt
from homekit.telegram import bot
-from homekit.api.types import BotType
from homekit.mqtt import Mqtt
from homekit.config import config
from homekit.util import chunks
@@ -738,9 +737,6 @@ if __name__ == '__main__':
kc = KettleController()
- if 'api' in config:
- bot.enable_logging(BotType.POLARIS_KETTLE)
-
bot.run()
# bot library handles signals, so when sigterm or something like that happens, we should stop all other threads here