diff --git a/glances/plugins/sensors/__init__.py b/glances/plugins/sensors/__init__.py index e326887cfa..69c979530f 100644 --- a/glances/plugins/sensors/__init__.py +++ b/glances/plugins/sensors/__init__.py @@ -214,7 +214,7 @@ def __set_type(self, stats: List[Dict[str, Any]], sensor_type: SensorType) -> Li """ for i in stats: # Set the sensors type - i.update({'type': str(sensor_type)}) + i.update({'type': sensor_type}) # also add the key name i.update({'key': self.get_key()})