Add a time.sleep(0.5) to send_command in client.py to give the command a
chance to complete. This is an ugly hack, we need to actually follow the
protocol, but works fine for now.
Support using device labels or ids case-insensitively with --device.
Give an error if the device does not exist.
I made some improvements in my fork. Added a mutually exclusive --device param that takes a label, case-insensitively. Added a time.sleep(0.5) in client.py to give the command a chance to complete, since it has to be sent block=False.