Skip to content

Commit

Permalink
fix(e1743-reversed)
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Jan 27, 2020
1 parent 765b9af commit 3e3616f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/controllerx/controllerx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}


Expand Down

0 comments on commit 3e3616f

Please sign in to comment.