Files
core/homeassistant/components/light
Anders Melchiorsen d4b05a6a85 Fix LIFX lights with disappearing names (#7119)
* Cache the name of LIFX lights

After #7031 the LIFX device will change during an unregister/register
transition. This has the user-visible effect of the new device missing
a friendly name until the next poll.

We now cache the name internally and it will then transfer to the new
device when it registers.

* Allow LIFX logging even without an available device

This will allow us to set the device to None when it unregisters.

* Calculate LIFX availability from the existence of a device

This has become possible because the device is no longer needed
to provide the name of the light when it is unavailable.

We just have to forget the device when it unregisters.
2017-04-16 17:40:22 -07:00
..
2017-03-04 15:10:36 -08:00
2017-04-11 20:10:02 -07:00
2016-11-04 23:38:27 -07:00
2017-03-29 23:00:22 -07:00
2014-03-26 00:20:02 -07:00
2017-03-15 22:58:06 -07:00
2017-03-26 15:50:40 +02:00
2017-02-11 11:29:37 -08:00
2017-03-04 15:10:36 -08:00
2017-01-21 12:24:48 -08:00
2017-04-16 14:37:39 -07:00
2017-03-11 10:18:29 -08:00
2017-01-16 23:11:02 -08:00
2017-03-26 15:50:40 +02:00
2016-09-10 18:22:58 -07:00
2017-04-16 15:06:59 -07:00