diff --git a/hue2influx.py b/hue2influx.py
index 62324fe61b6195c325b3d8c018bd77f3282dc871..35d3b55f707393c3e800316eb5fab8f636416293 100644
--- a/hue2influx.py
+++ b/hue2influx.py
@@ -81,7 +81,7 @@ class Hue2Influx:
                 if state_key == 'lastupdated':
                     continue
                 elif state_key == 'temperature':
-                    state_value = state_value / 100
+                    measurement['fields'][state_key] = state_value / 100
                 elif type(state_value) is dict:
                     measurement['fields'].update(self._flatten_dict(state_key, state_value))
                 elif type(state_value) is list: