diff options
-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() |