Files
core/homeassistant/components
Anders Melchiorsen ffb8872f95 LIFX: use white light when setting a specific temperature (#7256)
* Default to white when setting LIFX temperature

Changing the temperature of a saturated color is possible but not very
interesting. So assume that a change of the temperature implies setting
the color to white, unless a different color is actually specified.

This makes the frontend temperature picker much more useful because it can
now be used to get away from a colored light.

* Default to a neutral white temperature when setting LIFX colors

This means that setting a particular color will always give the same output,
no matter what the temperature was previously at.

* Find brightness after colors

Now the color_temp logic will not see a changed color when setting
temperature+brightness and thus we will actually get a white light in
this situation.

The XY conversion can then not use brightness as input. This is not
an issue because XY only affects hue and saturation, not brightness. So
we can just use an arbitrary value as brightness input.

* Add a simple comment to a complex conditional
2017-04-26 17:21:14 +02:00
..
2017-04-19 22:03:48 -07:00
2017-04-23 09:25:34 +02:00
2017-02-12 11:31:46 -08:00
2017-02-11 11:29:37 -08:00
2017-03-26 15:50:40 +02:00
2017-02-23 13:02:56 -08:00
2017-03-01 07:38:49 -08:00
2017-02-26 14:38:06 -08:00
2017-04-11 09:23:41 -07:00
2017-03-10 11:14:31 +01:00
2017-04-17 23:31:50 -07:00
2017-03-04 15:10:36 -08:00
2017-02-26 14:38:06 -08:00
2017-04-19 00:24:58 +02:00
2017-03-30 00:50:53 -07:00
2017-04-11 19:17:09 -07:00
2017-04-18 22:03:06 +02:00
2017-03-04 15:10:36 -08:00
2017-04-24 13:42:26 +02:00
2017-04-21 12:20:19 +02:00
2017-02-23 21:44:47 -08:00
2017-04-06 22:59:41 -07:00
2017-04-02 12:47:15 -04:00
2017-04-24 21:57:27 -07:00
2017-03-26 15:50:40 +02:00
2017-04-04 10:44:08 +02:00
2017-03-04 15:10:36 -08:00
2017-03-26 15:53:42 +02:00
2017-04-14 14:31:10 -07:00