diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 1f7508e7a..85d7fd818 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -803,6 +803,21 @@ const mapping = { '12050': [configurations.switch, configurations.sensor_power], 'ROB_200-004-0': [configurations.light_brightness], 'RH3040': [configurations.sensor_battery, configurations.binary_sensor_occupancy], + 'GLSK3ZB-1711': [configurations.switch], + 'GLSK3ZB-1712': [switchWithPostfix('top'), switchWithPostfix('bottom')], + 'GLSK3ZB-1713': [switchWithPostfix('top'), switchWithPostfix('center'), switchWithPostfix('bottom')], + 'GLSK6ZB-1714': [ + switchWithPostfix('top_left'), switchWithPostfix('bottom_left'), + switchWithPostfix('top_right'), switchWithPostfix('bottom_right'), + ], + 'GLSK6ZB-1715': [ + switchWithPostfix('top_left'), switchWithPostfix('center_left'), switchWithPostfix('bottom_left'), + switchWithPostfix('top_right'), switchWithPostfix('bottom_right'), + ], + 'GLSK6ZB-1716': [ + switchWithPostfix('top_left'), switchWithPostfix('center_left'), switchWithPostfix('bottom_left'), + switchWithPostfix('top_right'), switchWithPostfix('center_right'), switchWithPostfix('bottom_right'), + ], '3306431P7': [configurations.light_brightness_colortemp], 'AC08559': [configurations.light_brightness_colortemp], 'LVS-ZB15S': [configurations.switch], diff --git a/lib/util/utils.js b/lib/util/utils.js index 68a639299..e577a0e11 100644 --- a/lib/util/utils.js +++ b/lib/util/utils.js @@ -29,7 +29,7 @@ function toLocalISOString(dDate) { const postfixes = [ 'left', 'right', 'center', 'bottom_left', 'bottom_right', 'l1', 'l2', - 'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom', + 'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom', 'center_left', 'center_right', ]; function flatten(arr) {