aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/inverter-bot5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/inverter-bot b/src/inverter-bot
index e5d9fc6..f4691f7 100755
--- a/src/inverter-bot
+++ b/src/inverter-bot
@@ -328,10 +328,6 @@ def on_errors(update: Update, context: CallbackContext) -> None:
handle_exc(update, e)
-def on_test(update: Update, context: CallbackContext) -> None:
- monitor_charging_event_handler(ChargingEvent.AC_CURRENT_CHANGED, current=20)
-
-
def on_button(update: Update, context: CallbackContext) -> None:
query = update.callback_query
@@ -450,7 +446,6 @@ if __name__ == '__main__':
dispatcher.add_handler(CommandHandler('status', on_status))
dispatcher.add_handler(CommandHandler('config', on_config))
dispatcher.add_handler(CommandHandler('errors', on_errors))
- dispatcher.add_handler(CommandHandler('test', on_test))
dispatcher.add_handler(MessageHandler(Filters.all & user_filter, msg_all))