use change light level to avoid variable ramp speeds (#6860)

This commit is contained in:
Craig J. Ward 2017-03-31 01:53:11 -05:00 committed by Paulus Schoutsen
parent 72db4a80dd
commit 5bb201c7fc

View file

@ -175,7 +175,7 @@ class InsteonLocalDimmerDevice(Light):
if ATTR_BRIGHTNESS in kwargs:
brightness = int(kwargs[ATTR_BRIGHTNESS]) / 255 * 100
self.node.on(brightness)
self.node.change_level(brightness)
def turn_off(self, **kwargs):
"""Turn device off."""