diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-31 09:58:34 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-31 09:58:34 +0300 |
commit | e069acd1ed6f7125108b72e03224bf831d8827ef (patch) | |
tree | 58e907cad24db9ee9367281b11b23774dc15743f | |
parent | 52400c7208a6f90ec8516fa03693476403ee8a28 (diff) |
fix
-rwxr-xr-x | src/pump_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pump_bot.py b/src/pump_bot.py index 103f2f4..1996dfb 100755 --- a/src/pump_bot.py +++ b/src/pump_bot.py @@ -171,7 +171,7 @@ def markup(ctx: Optional[bot.Context]) -> Optional[ReplyKeyboardMarkup]: if __name__ == '__main__': mqtt = MqttNode(node_id=config.get('mqtt_water_relay.node_id')) if is_development_mode(): - add_mqtt_module('diagnostics') + add_mqtt_module(mqtt, 'diagnostics') mqtt_relay_module = add_mqtt_module(mqtt, 'relay') mqtt.configure_tls() |