From 1d97be731ee5ecc91aa5a5a36ba7ed29cd0e9931 Mon Sep 17 00:00:00 2001 From: Cyrill Raccaud Date: Sun, 8 Sep 2024 14:29:17 +0200 Subject: [PATCH] fix the mqtt port arg type to int --- docker2mqtt/docker2mqtt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docker2mqtt/docker2mqtt.py b/docker2mqtt/docker2mqtt.py index 264ee01..c28e956 100755 --- a/docker2mqtt/docker2mqtt.py +++ b/docker2mqtt/docker2mqtt.py @@ -1196,6 +1196,7 @@ def main() -> None: parser.add_argument( "--port", default=MQTT_PORT_DEFAULT, + type=int, help="Port or IP address of the MQTT broker (default: 1883)", ) parser.add_argument(