Files
home-assistant-core/homeassistant/components/light
Ryan Kraus 5dd45efac3 Updated ISY component to not overwrite state_attributes. (#5433)
* Updated ISY component to not overwrite state_attributes.

The ISY component included an ISYDevice base class that is used by all
of the isy994 platforms. This still overwrote the state_attributes
property instead of the more appropriate device_state_attributes
property. This was also repeated in the isy994 light platform. Both of
these were addressed. This also fixes issue #5428.

* Removed custom state attributes from ISY lights.

The brightness attribute need not be manually reported by the isy994
light platform.

* Removed ISY Node cleanup.

The ISY entities don’t really need to unsubscribe themselves while hass
is shutting down. Because these updates are not sent in a thread, there
is no negative impact from shutting down without unsubscribing. This
greatly speeds up hass shutdown.

* Removed unused attribute from isy994 light platform.

* Cleaned up ISY994 light entity class.

1) Removed the state property. This property is set in the Entity base
class and shouldn’t be overridden here.
2) Set the brightness property. This is the proper way of setting the
brightness for the Light base class.
3) Removed properties that are now unused because of these changes.
2017-01-19 22:22:33 -08:00
..
2017-01-19 13:25:35 -08:00
2016-12-05 08:15:36 -08:00
2017-01-16 21:52:12 -08:00
2016-12-13 23:46:27 -08:00
2016-09-11 09:24:25 +02:00
2016-11-04 23:38:27 -07:00
2017-01-14 09:42:45 -08:00
2016-10-30 22:18:53 +01:00
2014-03-26 00:20:02 -07:00
2016-11-07 22:31:40 -08:00
2017-01-17 23:40:34 +01:00
2016-11-30 13:12:26 -08:00
2017-01-16 23:11:02 -08:00
2016-09-10 18:22:58 -07:00