diff --git a/mi-scale/src/Xiaomi_Scale.py b/mi-scale/src/Xiaomi_Scale.py index fcb8999..f4e3494 100644 --- a/mi-scale/src/Xiaomi_Scale.py +++ b/mi-scale/src/Xiaomi_Scale.py @@ -36,7 +36,7 @@ try: try: MQTT_USERNAME = data["MQTT_USERNAME"] except: - MQTT_USERNAME = None + MQTT_USERNAME = "username" pass try: MQTT_PASSWORD = data["MQTT_PASSWORD"]