Anders Melchiorsen
7774f0ae53
Set new color before turning LIFX bulbs on ( #6402 )
...
A LIFX bulb maintains its previous color even when the light is off.
For example, if the previous color is blue and the bulb is turned on
and then set to a red color, it will transition through purple colors.
After this commit, the target color is set while the bulb is still
turned off. This overrides the previous color and brightness that the
bulb remembered. The light is then turned on with the requested
transition duration.
For the example, this gives the expected result of only going through
red colors.
2017-03-05 11:11:33 +01:00
Pascal Vizeli
8232f1ef65
Cleanup async handling ( #6388 )
...
* Cleanups unneeded blocks
* Cleanup bootstrap
* dedicated update_ha_state
* Fix imap_email_content
* fx tests
* Fix lint & spell
2017-03-04 15:10:36 -08:00
Nate
d5bdf7783e
light.transition now supports float instead of int in order to be able to perform faster transitions ( #6163 )
2017-02-26 21:21:12 -08:00
kitcorey
75df4be733
Fix colortemp conversion for lifx lights ( #6087 )
2017-02-18 20:42:57 +02:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Fabian Affolter
f5df5615be
Migrate to voluptuous ( #3282 )
2016-09-11 10:04:07 +02:00
Assaf Inbal
72ad1d8d7c
Added support for exposing light features ( #2828 )
2016-08-15 23:07:07 -07:00
Fabian Affolter
e06ff95107
Remove pylint disable ( #2785 )
2016-08-11 12:00:37 +02:00
Brad Johnson
09693bf16c
Upgrading to python-wink 0.7.4 and improving RGB color support in HA ( #1832 )
2016-04-17 19:07:21 -07:00
Fabian Affolter
7e8e91ef3c
Fix PEP257 issues
2016-03-07 22:08:21 +01:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Tim
08ab7dba2c
Fix whitespace
2016-02-02 00:21:15 +00:00
Tim
031e7a4013
New liffylights release improves device detection
...
Increase device polling to 30 seconds
2016-02-02 00:15:38 +00:00
Paulus Schoutsen
b21be63220
Merge pull request #1066 from TangoAlpha/dev
...
Update for new liffylights release
2016-01-31 08:32:51 -08:00
Tim
1974eda51d
Update for new liffylights release
...
Fix incorrect packet timeout/ack code causing flooding when no bulbs were online, which consumed all WorkerPool threads
2016-01-31 13:31:12 +00:00
Paulus Schoutsen
3e35bc06fc
Merge pull request #1055 from TangoAlpha/dev
...
Update to new release of liffylights
2016-01-30 12:56:22 -08:00
Tim
f76dee8a05
Update to new release of liffylights
2016-01-30 20:48:57 +00:00
Fabian Affolter
94d2f23cfc
Add link to docs and remove configuration details
2016-01-27 08:08:04 +01:00
Tim
b1ba792715
Brightness from HA overrides brightness from HSV conversion
2016-01-25 21:19:27 +00:00
Tim
1397f9e588
Fix logging typo
2016-01-25 20:58:10 +00:00
Tim
bb7f92330d
Update liffylights version
2016-01-25 20:53:21 +00:00
Tim
784fea2d56
Update for new liffylights version
2016-01-25 19:08:48 +00:00
Tim
11120a8743
Fix liffylights import
2016-01-25 15:19:50 +00:00
Tim
8009542b3e
Add extra debugging
...
Add duration to power on
2016-01-25 13:30:52 +00:00
Tim
d10a5cf5e9
Update to v0.8.3 of liffylights
2016-01-25 11:54:41 +00:00
Tim
5a926913d3
Update to v0.6 of liffylights
2016-01-25 10:00:15 +00:00
Tim
50561ffe97
Fix long line
2016-01-25 03:39:13 +00:00
Tim
74e8446556
Bump version of liffylights
2016-01-25 03:34:24 +00:00
Tim
d94db5388c
Add preliminary support for transition time
2016-01-25 03:32:55 +00:00
Tim
6d2bca0fd1
Import 3rd party library inside method
2016-01-24 01:13:51 +00:00
Tim
99286391e1
Fixes for lint
2016-01-24 01:00:02 +00:00
Tim
711f2da496
Update liffylights version
2016-01-24 00:43:50 +00:00
Tim
58034219b6
Bump version liffylights
2016-01-23 22:23:46 +00:00
Tim
17f5a466d9
Separate LIFX code and HA component
2016-01-23 22:14:57 +00:00
Tim
3d23cd10fc
Attempt to fix ungrouped-imports pylint error
2016-01-18 18:30:09 +00:00
Tim
66cd8d264e
Remove use of warn()
2016-01-18 18:27:46 +00:00
Tim
291910d74e
Add LIFX bulb support
2016-01-18 18:10:32 +00:00