core/homeassistant/components/light
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
..
__init__.py 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
avion.py Update docstring (quotes, links, content) (#5602) 2017-01-28 16:02:19 +01:00
blinksticklight.py Update ordering, constants, and callback name (light.*) (#3339) 2016-09-12 15:52:22 +02:00
decora.py Add support for Leviton Decora Bluetooth dimmer switches (#5434) 2017-01-21 14:14:08 -08:00
demo.py Restore_state helper to restore entity states from the DB on startup (#4614) 2017-02-20 23:40:27 -08:00
enocean.py Cleanup async handling (#6388) 2017-03-04 15:10:36 -08:00
flux_led.py flux led lib (#6404) 2017-03-04 21:33:24 +01:00
homematic.py Homematic cleanup & hass best praxis (#6121) 2017-02-20 17:07:33 +01:00
hue.py Fix for OSRAM lights connected to hue bridge (#6122) 2017-02-26 21:28:31 -08:00
hyperion.py Change CONF_DEFAULT_COLOR CV type (#5700) 2017-02-03 23:36:25 -08:00
insteon_hub.py Disable insteon hub (#4221) 2016-11-04 23:38:27 -07:00
insteon_local.py Insteon config (#5595) 2017-01-27 23:31:36 -08:00
insteon_plm.py New component 'insteon_plm' and related platforms (#6104) 2017-02-21 08:53:39 +01:00
isy994.py Updated ISY component to not overwrite state_attributes. (#5433) 2017-01-19 22:22:33 -08:00
lifx.py Set new color before turning LIFX bulbs on (#6402) 2017-03-05 11:11:33 +01:00
light_profiles.csv Lights now support profiles 2014-03-26 00:20:02 -07:00
limitlessled.py Bump limitlessled dependency to 1.0.5. (#6334) 2017-03-02 14:18:44 +01:00
litejet.py LiteJet: Lights should have the option to dim in the UI. (#6031) 2017-02-15 22:41:03 -08:00
lutron.py Add initial support for Lutron RadioRA 2 using pylutron (#5337) 2017-01-25 09:11:37 +01:00
mqtt.py Bootstrap / Component setup async (#6264) 2017-02-28 20:33:19 -08:00
mqtt_json.py Bootstrap / Component setup async (#6264) 2017-02-28 20:33:19 -08:00
mqtt_template.py Bootstrap / Component setup async (#6264) 2017-02-28 20:33:19 -08:00
mysensors.py Fix mysensors RGB and W light turn on (#5608) 2017-01-29 12:59:13 +01:00
osramlightify.py 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
piglow.py Piglow support (#5302) 2017-01-24 09:41:33 +01:00
qwikswitch.py Style updates (#5878) 2017-02-11 11:29:37 -08:00
rflink.py Bootstrap / Component setup async (#6264) 2017-02-28 20:33:19 -08:00
rfxtrx.py Update ordering, constants, and callback name (light.*) (#3339) 2016-09-12 15:52:22 +02:00
scsgate.py Cleanup async handling (#6388) 2017-03-04 15:10:36 -08:00
services.yaml create light.hue_activate_scene service (#4425) 2016-11-17 22:14:06 -08:00
tellduslive.py initialize self._last_brightness (#4917) 2016-12-15 22:35:53 -08:00
tellstick.py Tellstick light fix (#5482) 2017-01-21 12:24:48 -08:00
tikteck.py Add support for Tikteck Bluetooth bulbs (#4843) 2017-01-04 22:31:31 +01:00
vera.py Migrate light component to async (#4635) 2016-11-30 13:33:38 -08:00
wemo.py Update ordering, constants, and callback name (light.*) (#3339) 2016-09-12 15:52:22 +02:00
wink.py Wink AC and addidtional sensor support (#5670) 2017-02-01 22:43:12 -08:00
x10.py Improved x10 state monitoring (#5115) 2017-01-16 23:11:02 -08:00
yeelight.py 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
yeelightsunflower.py Update library version for Yeelight Sunflower lights platform (fix for packaging problem with 0.0.7) (#6233) 2017-02-27 13:47:51 -05:00
zengge.py Add support for Zengge Bluetooth bulbs (#5196) 2017-01-13 22:15:43 -08:00
zigbee.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
zwave.py Zwave optimize value_added (#6210) 2017-03-01 22:41:19 -08:00