Skip to content

Commit

Permalink
fix(device): change terncy mapping for 5 clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Dec 18, 2020
1 parent 9a02c98 commit 5f87fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controllerx/cx_devices/terncy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_zha_actions_mapping(self) -> TypeActionsMapping:
"button_double": Light.ON_FULL_BRIGHTNESS,
"button_triple": Light.ON_MIN_BRIGHTNESS,
"button_quadruple": Light.SET_HALF_BRIGHTNESS,
"button_quintuple": Light.SET_HALF_BRIGHTNESS,
"button_quintuple": Light.SET_HALF_COLOR_TEMP,
}

def get_zha_action(self, data: EventData) -> str:
Expand Down

0 comments on commit 5f87fed

Please sign in to comment.