Given this is a low-level library, I don't think this is the place to implement this functionality. It should be implemented in the application using it.
I was just triggering kasa.exe from desktop shortcuts, but needed to have separate shortcuts for on/off.
But now, I figured out how to make a sort of hotkey script with python + implement as you said to check device state then toggle. Liking this solution much better, thanks!
Activity
kirichkov commented on Aug 7, 2021
this is basically:
Given this is a low-level library, I don't think this is the place to implement this functionality. It should be implemented in the application using it.
emerysteele commented on Aug 10, 2021
I was just triggering kasa.exe from desktop shortcuts, but needed to have separate shortcuts for on/off.
But now, I figured out how to make a sort of hotkey script with python + implement as you said to check device state then toggle. Liking this solution much better, thanks!
Release 0.4.0.dev4
Release 0.4.0.dev4
Release 0.4.0.dev4 (#210)
Release 0.4.0.dev4 (python-kasa#210)
Release 0.4.0.dev4 (python-kasa#210)