python-kasa/kasa/tests
Teemu R 2c83d8ee6d
bulb: allow set_hsv without v, add fallback ct range (#200)
* bulb: allow set_hsv without v, add fallback ct range

* add ColorTempRange and HSV named tuples
* add a fallback color temp range if unknown, log a warning
* set_hsv: the value is now optional

* Fix tests, change fallback range to 2700-5000
2021-09-21 13:23:56 +02:00
..
fixtures Add real kasa KL430(UN) device dump (#192) 2021-08-16 20:16:29 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Improve bulb support (alias, time settings) (#198) 2021-09-19 23:53:17 +02:00
newfakes.py Improve bulb support (alias, time settings) (#198) 2021-09-19 23:53:17 +02:00
test_bulb.py bulb: allow set_hsv without v, add fallback ct range (#200) 2021-09-21 13:23:56 +02:00
test_cli.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_dimmer.py Simplify API documentation by using doctests (#73) 2020-06-30 02:29:52 +02:00
test_discovery.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_emeter.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_plug.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_protocol.py Simplify API documentation by using doctests (#73) 2020-06-30 02:29:52 +02:00
test_readme_examples.py Return None instead of raising an exception on missing, valid emeter keys (#146) 2021-03-18 19:22:10 +01:00
test_smartdevice.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
test_strip.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00