diff --git a/app/mifit_to_influxdb.py b/app/mifit_to_influxdb.py
--- a/app/mifit_to_influxdb.py
+++ b/app/mifit_to_influxdb.py
#
@@ -149,10 +149,10 @@ def extract_sleep_data(ts, slp, day):
#
"timestamp": minute_to_timestamp(sleep['start'], day) * 1000000000, # Convert to nanos
#
"total_sleep_min" : sleep['stop'] - sleep['start']
#
"activity_type" : "sleep_stage",