|
|
@ -62,7 +62,7 @@ class Hui(wx.Frame):
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|
lambda event, mbridge=bridge: self.goto_bridge(mbridge), btn)
|
|
|
|
lambda event, mbridge=bridge: self.goto_bridge(mbridge), btn)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
btn: wx.Button = wx.Button(self.pnl, label="Discover bridges")
|
|
|
|
btn: wx.Button = wx.Button(self.pnl, label="Press Hue Bridge button, and then press here")
|
|
|
|
self.sizer.Add(btn, 0, wx.EXPAND)
|
|
|
|
self.sizer.Add(btn, 0, wx.EXPAND)
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|
lambda event: self.discover_new_bridges(), btn)
|
|
|
|
lambda event: self.discover_new_bridges(), btn)
|
|
|
|