diff --git a/hometemp.py b/hometemp.py index 02dd1e6..04203d9 100644 --- a/hometemp.py +++ b/hometemp.py @@ -55,7 +55,8 @@ def get_sensor_data(used_pin): # postgres expects timestamp ins ISO 8601 format timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S") return result.temperature, result.humidity, timestamp - + + return None, None, None def _get__visualization_data(): auth = config["db"]