Hyperion: fix (#11793)
parent
4ceb13291f
commit
2ca4bde06a
|
@ -147,6 +147,8 @@ class Hyperion(Light):
|
||||||
|
|
||||||
if ATTR_BRIGHTNESS in kwargs:
|
if ATTR_BRIGHTNESS in kwargs:
|
||||||
brightness = kwargs[ATTR_BRIGHTNESS]
|
brightness = kwargs[ATTR_BRIGHTNESS]
|
||||||
|
else:
|
||||||
|
brightness = self._brightness
|
||||||
|
|
||||||
if ATTR_EFFECT in kwargs:
|
if ATTR_EFFECT in kwargs:
|
||||||
self._skip_update = True
|
self._skip_update = True
|
||||||
|
|
Loading…
Reference in New Issue