Multiple subplots with multiple y axis created in a for lop

I have a script that is working well that creates 24 subplots and adds 2 traces each with there own y axis within a for loop. Now i would like to add a third trace to each subplot and have a third y axis. The third trace was relatively easy to do within the for loop but I am having trouble figuring out how to add the third axis.

        for i in range(len(machine_names)):
            subplot_specs.append([{"secondary_y": True}])

        # these line makes subplots so every machine can have its own row
        fig = make_subplots(rows=24,
                            cols=1,
                            specs=subplot_specs,
                            vertical_spacing=0.0125,
                            subplot_titles=machine_names)

        for i in range(len(machine_names)):
            # these lines add the traces to the subplots for each machine
            fig.add_trace(go.Scatter(x=data_frame['Time'], y=data_frame[data_frame_columns[(i*3)+1]],
                                 name='Line Speed'),
                            row=i+1, col=1)
            fig.add_trace(go.Scatter(x=data_frame['Time'], y=data_frame[data_frame_columns[(i*3)+2]],
                                 name='Down Time'), secondary_y=True,
                            row=i+1, col=1)
            fig.add_trace(go.Scatter(x=data_frame['Time'], y=data_frame[data_frame_columns[(i*3)+3]],
                                     name='Widgets Completed'), secondary_y=True,
                          row=i + 1, col=1)