Skip to content

Commit

Permalink
fix(device): fix Muller Licht controller mapping for Z2M
Browse files Browse the repository at this point in the history
related to #236
  • Loading branch information
xaviml committed Feb 7, 2021
1 parent ab9dfce commit 55611fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apps/controllerx/cx_devices/muller_licht.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ def get_z2m_actions_mapping(self) -> DefaultActionsMapping:
"brightness_down_hold": Light.HOLD_BRIGHTNESS_DOWN,
"brightness_down_release": Light.RELEASE,
"brightness_up_click": Light.CLICK_BRIGHTNESS_UP,
"brightness_up_hold": Light.HOLD_BRIGHTNESS_DOWN,
"brightness_up_hold": Light.HOLD_BRIGHTNESS_UP,
"brightness_up_release": Light.RELEASE,
"color_wheel": Light.XYCOLOR_FROM_CONTROLLER # Color ring press
# color_temp: "" # warm or cold
# color_wheel: "" # Color ring press
"color_wheel": Light.XYCOLOR_FROM_CONTROLLER, # Color ring press
"color_temp": Light.COLORTEMP_FROM_CONTROLLER, # warm or cold
# "scene_3": "", # reading button
# "scene_1": "", # sunset button
# "scene_2": "", # party button
Expand Down

0 comments on commit 55611fb

Please sign in to comment.