Ejemplo n.º 1
0
 def setup(self):
     """Sets all relays to their default state (off)."""
     BluetoothRelayDevice.setup(self)
     # If the Fugu remote does have a power relay attached, turn it on.
     power = 'Power'
     if power in self.relays:
         self.relays[power].set_nc()
Ejemplo n.º 2
0
 def setup(self):
     """Sets all relays to their default state (off)."""
     BluetoothRelayDevice.setup(self)