Added endpoints for Busch-Jaeger (#2723)

* Added endpoints for Busch-Jaeger

* Added RM01 to homeassistant.js

* Updated mapping to reflect latest change in converter

* Renamed endpoint according to converted PR

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
Boris Prüßmann
2020-01-14 18:47:32 +01:00
committed by Koen Kanters
co-authored by Koen Kanters
parent 80838bd248
commit 2234fd1e8a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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],
+1 -1
View File
@@ -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) {