diff --git a/src/Xiaomi_Scale.py b/src/Xiaomi_Scale.py index 5ff8489..e4bbecc 100644 --- a/src/Xiaomi_Scale.py +++ b/src/Xiaomi_Scale.py @@ -36,7 +36,7 @@ MQTT_PORT = int(os.getenv('MQTT_PORT', 1883)) MQTT_TIMEOUT = int(os.getenv('MQTT_TIMEOUT', 60)) MQTT_PREFIX = os.getenv('MQTT_PREFIX', 'miscale') -TIME_INTERVAL = int(os.getenv('TIME_INTERVAL, '30')) +TIME_INTERVAL = int(os.getenv('TIME_INTERVAL', 30)) OLD_MEASURE = '' # User Variables...