Commit 7fd24c0c authored by Alexis Paques's avatar Alexis Paques

Fix set_color_temp

parent 85b338fb
Pipeline #42177849 passed with stages
in 4 minutes and 9 seconds
......@@ -53,7 +53,20 @@ def _command(f, *args, **kw):
# Prepend the control for different bulbs
if control_type == ControlType.Ambient:
method = "bg_" + method
if method in ["set_ct_abx", "set_rgb", "set_hsv", "set_bright", "set_power", "toggle"]:
if method in [
"set_ct_abx",
"set_rgb",
"set_hsv",
"set_bright",
"set_power",
"toggle",
"bg_set_ct_abx",
"bg_set_rgb",
"bg_set_hsv",
"bg_set_bright",
"bg_set_power",
"bg_toggle",
]:
if self._music_mode:
# Mapping calls to their properties.
# Used to keep music mode cache up to date.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment