From f2827be8a8d0277dc98243d124ffaf801b600e47 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 18:52:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- apps/controllerx/cx_devices/tuya.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/controllerx/cx_devices/tuya.py b/apps/controllerx/cx_devices/tuya.py index e4bf5cd0..62403066 100644 --- a/apps/controllerx/cx_devices/tuya.py +++ b/apps/controllerx/cx_devices/tuya.py @@ -126,7 +126,7 @@ def get_zha_actions_mapping(self) -> DefaultActionsMapping: "1_remote_button_double_press": Light.CLICK_BRIGHTNESS_UP, "1_remote_button_long_press": Light.ON_FULL_BRIGHTNESS, "2_remote_button_short_press": Light.OFF, - "2_remote_button_double_press": Light.ON_MIN_BRIGHTNESS + "2_remote_button_double_press": Light.ON_MIN_BRIGHTNESS, } def get_zha_action(self, data: EventData) -> str: