From 750ff3b71e5647f7669c636709f49aad67eb193d Mon Sep 17 00:00:00 2001 From: Necroneco Date: Mon, 12 Aug 2024 19:36:35 +0800 Subject: [PATCH] fix a syntax error --- custom_components/ds_air/ds_air_service/ctrl_enum.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/ds_air/ds_air_service/ctrl_enum.py b/custom_components/ds_air/ds_air_service/ctrl_enum.py index 87b8220..d0b5931 100644 --- a/custom_components/ds_air/ds_air_service/ctrl_enum.py +++ b/custom_components/ds_air/ds_air_service/ctrl_enum.py @@ -338,6 +338,7 @@ class EnumControl: def get_mode_name(idx): return _MODE_NAME_LIST[idx] + @staticmethod def get_action_name(idx): return _MODE_ACTION_LIST[idx]