Found the python api implementation in GitHub, and it works fine for simple presses
I am looking for an API for long press (this is how I can arm my home alarm). Python API does not seem to expose the length of key press. There is, though, an option for "On" and "Off" commands, but I can't see any difference in what the bot does when I execute those commands (it just does the simple press).
Can anyone here advise?