aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--light.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/light.py b/light.py
index 2dc96bf..e195ad7 100644
--- a/light.py
+++ b/light.py
@@ -92,7 +92,7 @@ class BekenLight(LightEntity):
transition = kwargs.get(ATTR_TRANSITION)
if transition != None:
- self.interpolate(brightness_old if on_old else 0, brightness, rgb_old if on_old else (0, 0, 0,), rgbw[0:3], w_old if on_old else 0, rgbw[3], transition)
+ self.interpolate(brightness_old if on_old else 0, self._brightness, rgb_old if on_old else (0, 0, 0,), self._rgb, w_old if on_old else 0, self._w, transition)
self.update_beken_lamp()