diff --git a/apps/controllerx/controllerx.py b/apps/controllerx/controllerx.py index 8ee49720..2b203197 100755 --- a/apps/controllerx/controllerx.py +++ b/apps/controllerx/controllerx.py @@ -647,20 +647,20 @@ def get_state_actions_mapping(self): def get_event_actions_mapping(self): return { - 2002: self.on, - 1002: self.off, - 2001: ( + 1002: self.on, + 2002: self.off, + 1001: ( self.hold, LightController.ATTRIBUTE_BRIGHTNESS, LightController.DIRECTION_UP, ), - 1001: ( + 2001: ( self.hold, LightController.ATTRIBUTE_BRIGHTNESS, LightController.DIRECTION_DOWN, ), - 2003: self.release, 1003: self.release, + 2003: self.release, }