OpenWonderLabs / python-host

The python code running on Raspberry Pi or other Linux based boards to control SwitchBot.
Apache License 2.0
376 stars 84 forks source link

Add command argument to switchbot_py3.py #8

Closed rcmdnk closed 3 years ago

rcmdnk commented 5 years ago

New argument for switchbot_py3.py: --command or -c to specify command to be sent to device. The default value is press, therefore it works as same as before it no command is given.

SwitchBot-Wonderlabs commented 3 years ago

Thanks!