Override sendCommand()

Hi,

you can just override and inject the function as I have done (Thread here: Library for JSR223 in Jython).
But the easiest way is definitely to create a custom function:

def mysendCommand( a, b):
    time.sleep(1)
    BusEvent.sendCommand(a,b)