def __init__(self, config, relay_rig): BluetoothRelayDevice.__init__(self, config, relay_rig) self._ensure_config_contains_relays(button.value for button in Buttons)
def __init__(self, config, relay_rig): BluetoothRelayDevice.__init__(self, config, relay_rig) self._ensure_config_contains_relay(Buttons.ACTION.value)