generalize smartdevice class and add bulb support for the cli tool (#50)

Fixes #48 and #51. The basic functionality should work on all types of supported devices, for bulb specific commands it is currently necessary to specify ```--bulb```.
This commit is contained in:
Teemu R
2017-04-24 19:28:22 +02:00
committed by GitHub
parent 86f14642c8
commit 09e8948790
5 changed files with 204 additions and 92 deletions

View File

@@ -2,4 +2,4 @@
from .smartplug import SmartPlug
from .pyHS100 import SmartPlugException, SmartDevice
from .smartbulb import SmartBulb
from .protocol import TPLinkSmartHomeProtocol
from .protocol import TPLinkSmartHomeProtocol