mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix wrong brightness level change visible in UI (#71655)
This commit is contained in:
parent
45290c4c09
commit
2205898771
@ -112,6 +112,7 @@ class FibaroLight(FibaroDevice, LightEntity):
|
||||
if ATTR_BRIGHTNESS in kwargs:
|
||||
self._attr_brightness = kwargs[ATTR_BRIGHTNESS]
|
||||
self.set_level(scaleto99(self._attr_brightness))
|
||||
return
|
||||
|
||||
if ATTR_RGB_COLOR in kwargs:
|
||||
# Update based on parameters
|
||||
|
Loading…
x
Reference in New Issue
Block a user