hass-core/tests
Anders Melchiorsen 9e16be3173 LIFX: clean up internal color conversions ()
* Add color_util.color_hsv_to_RGB

* Use helper functions for LIFX conversions

The LIFX API uses 16 bits for saturation/brightness while HA uses 8 bits.
Using helper functions makes the conversion a bit nicer and less prone
to off-by-one issues.

The colorsys library uses 0.0-1.0 but we can avoid that by using the HA
color_util converters instead.
2017-06-11 21:19:58 +02:00
..
components test that all lights turn off when no entity id is given () 2017-06-10 10:13:52 +02:00
fixtures Introduced Ring binary sensors and refactored Ring component () 2017-03-31 08:53:56 -07:00
helpers Replace executor with async_add_job () 2017-05-26 08:28:07 -07:00
mock Tests for zwave setup features () 2017-05-12 20:27:44 -07:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts assertEquals is deprecated () 2017-05-25 22:21:22 -07:00
test_util Update docstrings () 2017-05-02 09:18:47 -07:00
testing_config Add Kira component to sensor and remote platforms () 2017-05-12 21:12:47 -07:00
util LIFX: clean up internal color conversions () 2017-06-11 21:19:58 +02:00
__init__.py async HTTP component () 2016-10-23 23:48:01 -07:00
common.py Fix MQTT camera test () 2017-06-03 18:51:29 -07:00
conftest.py Abort tests when instances leaked () 2017-05-18 00:19:40 +02:00
test_bootstrap.py Split bootstrap into bs + setup () 2017-03-05 10:41:54 +01:00
test_config.py Start of migration framework, to allow moving of files in the config … () 2017-06-01 23:50:04 -07:00
test_core.py Bugfix wait on start event () 2017-04-11 09:09:31 -07:00
test_loader.py Bootstrap / Component setup async () 2017-02-28 20:33:19 -08:00
test_main.py Migrate core from threads to async awesomeness () 2016-09-12 19:16:14 -07:00
test_remote.py Remove deprecated remote classes () 2017-04-10 09:04:19 -07:00
test_setup.py Add warning for slow platforms/components () 2017-03-07 20:31:57 -08:00