Commit graph

5 commits

Author SHA1 Message Date
Nolan Gilley
191fc8f8d4 Change color_RGB_to_xy formula & return brightness (#2095)
* Use RGB to XY calculations from Philips Hue developer site

* uppercase X,Y,Z

* rename cx,cy to x,y

* return brightness in color_RGB_to_xy

* remove try/catch

* update existing platforms using color_RGB_to_xy

* improve wemo w/ jaharkes suggestion

* allow brightness override of rgb_to_xy
2016-05-21 10:19:27 -07:00
Jan Harkes
27aba5c834 Update to new pywemo bridge API
Support RGBW and tunable white lights.
2016-03-17 12:27:06 -04:00
Fabian Affolter
7e8e91ef3c Fix PEP257 issues 2016-03-07 22:08:21 +01:00
Jan Harkes
afe564fb3f Move WeMo discovery into a common component 2016-02-21 22:23:00 -05:00
Jan Harkes
4dad40fffb Add support for WeMo LED lights. 2016-02-21 21:57:53 -05:00