light.transition now supports float instead of int in order to be able to perform faster transitions (#6163)
This commit is contained in:
1 parent
65d255a626
commit
d5bdf7783e
8 files changed
+18
-15
No files matched your search
@@ -143,7 +143,7 @@ def state(new_state):
|
||||
pipeline.on()
|
||||
# Set transition time.
|
||||
if ATTR_TRANSITION in kwargs:
|
||||
transition_time = kwargs[ATTR_TRANSITION]
|
||||
transition_time = int(kwargs[ATTR_TRANSITION])
|
||||
# Do group type-specific work.
|
||||
function(self, transition_time, pipeline, **kwargs)
|
||||
# Update state.
|
||||
|
||||
Reference in new issue
Block a user