diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 040d47ca3..db2457a44 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1096,6 +1096,7 @@ const mapping = { 'GDKES-01TZXD': [cfg.switch], 'GDKES-02TZXD': [switchWithPostfix('left'), switchWithPostfix('right')], 'GDKES-03TZXD': [switchWithPostfix('left'), switchWithPostfix('center'), switchWithPostfix('right')], + '6735/6736/6737': [cfg.switch, cfg.sensor_action], 'SZ-SRN12N': [], 'ML-ST-D200': [cfg.light_brightness], '7099930PH': [cfg.light_brightness_colorxy], diff --git a/lib/util/utils.js b/lib/util/utils.js index c8459ddd8..7f6c7ec29 100644 --- a/lib/util/utils.js +++ b/lib/util/utils.js @@ -30,7 +30,7 @@ function toLocalISOString(dDate) { const postfixes = [ 'left', 'right', 'center', 'bottom_left', 'bottom_right', 'l1', 'l2', 'default', 'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom', 'center_left', 'center_right', - 'ep1', 'ep2', + 'ep1', 'ep2', 'row_1', 'row_2', 'row_3', 'row_4', 'relay', ]; function flatten(arr) {