diff --git a/lib/AllDeviceAttributes.js b/lib/AllDeviceAttributes.js index 1f53906..b895f45 100644 --- a/lib/AllDeviceAttributes.js +++ b/lib/AllDeviceAttributes.js @@ -238,9 +238,9 @@ const defaults = { 21:'Sommer', 22:'Herbst', 23:'Tieftauchgang', - 24:'Dschuhgel', + 24:'Dschungel', 25:'Mojito', - 26:'Verein', + 26:'Club', 27:'Weihnachten', 28:'Halloween', 29:'Kerzenlicht', @@ -557,6 +557,22 @@ function ESP03_SHRGBP_31() { return defaults; } +function ESP03_SHTWP_31() { + const data = Object.assign({}, defaults); + delete data['led.speed']; + delete data['led.r']; + delete data['led.g']; + delete data['led.b']; + delete data['led.w']; + delete data['led.c']; + delete data['colors.rgb']; + delete data['colors.hsv']; + delete data['colors.hsl']; + delete data['colors.hex']; + delete data['colors.hue']; + return data; +} + function ESP17_SHTW9_01() { const data = Object.assign({}, defaults); delete data['led.sceneId']; @@ -652,6 +668,7 @@ module.exports = { ESP03_SHRGB1W_01: ESP03_SHRGB1W_01, ESP06_SHDW9_01: ESP06_SHDW9_01, ESP03_SHRGBP_31: ESP03_SHRGBP_31, + ESP03_SHTWP_31: ESP03_SHTWP_31, ESP17_SHTW9_01: ESP17_SHTW9_01, ESP03_SHRGB3_01ABI: ESP03_SHRGB3_01ABI, ESP04_SHRGBP0_01: ESP04_SHRGBP0_01,