python-kasa/pyHS100
Teemu R a475233464
Check for errors also in the command payload (#173)
For example, trying to set unsupported color temperature will cause such response.
This gets ignored at the moment completely, so there is no indication at all why the command caused no effect on the device.

> (93) {"smartlife.iot.smartbulb.lightingservice": {"transition_light_state": {"color_temp": 6000}}}
< (125) {"smartlife.iot.smartbulb.lightingservice":{"transition_light_state":{"err_code":-10000,"err_msg":"Invalid input argument"}}}
2019-06-03 09:58:03 -04:00
..
tests Fix for SmartStrip repr (#169) 2019-04-09 00:19:42 -04:00
__init__.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
cli.py Smartstrip: return on_since state information only when the socket is on (#161) 2019-03-16 21:32:59 +01:00
discover.py Improve discovery by sending multiple UDP datagrams (#172) 2019-05-20 21:56:01 -04:00
protocol.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
smartbulb.py bulb: add the temperature range to state_information, inform the user if the info is missing when calling temperature (#163) 2019-03-16 21:32:25 +01:00
smartdevice.py Check for errors also in the command payload (#173) 2019-06-03 09:58:03 -04:00
smartplug.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
smartstrip.py Smartstrip: return on_since state information only when the socket is on (#161) 2019-03-16 21:32:59 +01:00