summaryrefslogtreecommitdiff
path: root/bin/pump_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/pump_bot.py
parent00b3cd120f6357a35ef7e8b1c3ffad458a068266 (diff)
telegram bots: get rid of requests logging via webapi
Diffstat (limited to 'bin/pump_bot.py')
-rwxr-xr-xbin/pump_bot.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/pump_bot.py b/bin/pump_bot.py
index 08d0dc6..2583c5f 100755
--- a/bin/pump_bot.py
+++ b/bin/pump_bot.py
@@ -11,7 +11,6 @@ from homekit.config import config, is_development_mode
from homekit.telegram import bot
from homekit.telegram._botutil import user_any_name
from homekit.relay.sunxi_h3_client import RelayClient
-from homekit.api.types import BotType
from homekit.mqtt import MqttNode, MqttWrapper, MqttPayload
from homekit.mqtt.module.relay import MqttPowerStatusPayload, MqttRelayModule
from homekit.mqtt.module.temphum import MqttTemphumDataPayload
@@ -248,7 +247,6 @@ if __name__ == '__main__':
mqtt.connect_and_loop(loop_forever=False)
- bot.enable_logging(BotType.PUMP)
bot.run()
try: