Osram lightify Removed wrong assignment (#7615)
self._brightness is assigned with the returned value of the set_luminance() function, which is always equal to None.
This commit is contained in:
parent
76b747edd6
commit
f3b9e1e988
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Luminary(Light):
|
|||
self._brightness = kwargs[ATTR_BRIGHTNESS]
|
||||
_LOGGER.debug("turn_on requested brightness for light: %s is: %s ",
|
||||
self._name, self._brightness)
|
||||
self._brightness = self._luminary.set_luminance(
|
||||
self._luminary.set_luminance(
|
||||
int(self._brightness / 2.55),
|
||||
transition)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue