Index: leahi_dialin/fp/modules/temperatures.py =================================================================== diff -u -r6fa8a72c463310fd943270135aebfcb10d7a1210 -ra286de55ce0a6fd3388ddcd68d6c9aecd00a2500 --- leahi_dialin/fp/modules/temperatures.py (.../temperatures.py) (revision 6fa8a72c463310fd943270135aebfcb10d7a1210) +++ leahi_dialin/fp/modules/temperatures.py (.../temperatures.py) (revision a286de55ce0a6fd3388ddcd68d6c9aecd00a2500) @@ -174,7 +174,7 @@ message_id=MsgIds.MSG_ID_FP_PRESSURE_TEMP_OVERRIDE_REQUEST.value, payload=payload) - self.logger.debug("Setting sensor {} to {} C".format(FPTemperaturesNames[str(sensor_index)].name, sensor_value)) + self.logger.debug("Setting sensor {} to {} C".format(list(self.fp_temperatures.keys())[sensor_index], sensor_value)) # Send message received_message = self.can_interface.send(message)