Skip to content

Commit

Permalink
👔 [2024-04-10] 添加或修改业务逻辑: 增加 COVER LIGHT 和 CLIMATE 的平台支持
Browse files Browse the repository at this point in the history
  • Loading branch information
MapleEve committed Apr 10, 2024
1 parent c1396f8 commit f7f6b87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/lifesmart/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
GAS_SENSOR_TYPES = ["SL_SC_WA ", "SL_SC_CH", "SL_SC_CP", "ELIQ_EM"]
EV_SENSOR_TYPES = ["SL_SC_THL", "SL_SC_BE", "SL_SC_CQ"]
OT_SENSOR_TYPES = ["SL_SC_MHW", "SL_SC_BM", "SL_SC_G", "SL_SC_BG"]
LOCK_TYPES = ["SL_LK_LS", "SL_LK_GTM", "SL_LK_AG", "SL_LK_SG", "SL_LK_YL","SL_P_BDLK","OD_JIUWANLI_LOCK1"]
LOCK_TYPES = ["SL_LK_LS", "SL_LK_GTM", "SL_LK_AG", "SL_LK_SG", "SL_LK_YL", "SL_P_BDLK", "OD_JIUWANLI_LOCK1"]
GUARD_SENSOR_TYPES = ["SL_SC_G", "SL_SC_BG"]
DEVICE_WITHOUT_IDXNAME = [
"SL_NATURE",
Expand All @@ -134,9 +134,9 @@
Platform.SWITCH,
Platform.BINARY_SENSOR,
Platform.SENSOR,
# Platform.COVER,
# Platform.LIGHT,
# Platform.CLIMATE,
Platform.COVER,
Platform.LIGHT,
Platform.CLIMATE,
]
CLIMATE_TYPES = ["V_AIR_P", "SL_CP_DN"]

Expand Down

0 comments on commit f7f6b87

Please sign in to comment.