def build_device(self, serial_number, data):
    button = ttk.Button(self.content, text=data['Name'], width=15, command=(lambda : self.settings.show_view(serial_number, self)))
    button.pack(fill=tk.X, pady=2)
    self.devices.append(button)
def build_device(self, serial_number, data):
    button = ttk.Button(self.content, text=data['Name'], width=15, command=(lambda : self.settings.show_view(serial_number, self)))
    button.pack(fill=tk.X, pady=2)
    self.devices.append(button)