zigbee-herdsman-converters 14.0.658 → 14.0.659
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/devices/ikea.js +0 -4
- package/devices/kurvia.js +1 -5
- package/package.json +1 -1
package/devices/ikea.js
CHANGED
|
@@ -121,25 +121,21 @@ const fzLocal = {
|
|
|
121
121
|
const tradfriExtend = {
|
|
122
122
|
light_onoff_brightness: (options = {}) => ({
|
|
123
123
|
...extend.light_onoff_brightness(options),
|
|
124
|
-
exposes: extend.light_onoff_brightness(options).exposes.concat(e.power_on_behavior()),
|
|
125
124
|
ota: ota.tradfri,
|
|
126
125
|
onEvent: bulbOnEvent,
|
|
127
126
|
}),
|
|
128
127
|
light_onoff_brightness_colortemp: (options = {colorTempRange: [250, 454]}) => ({
|
|
129
128
|
...extend.light_onoff_brightness_colortemp(options),
|
|
130
|
-
exposes: extend.light_onoff_brightness_colortemp(options).exposes.concat(e.power_on_behavior()),
|
|
131
129
|
ota: ota.tradfri,
|
|
132
130
|
onEvent: bulbOnEvent,
|
|
133
131
|
}),
|
|
134
132
|
light_onoff_brightness_colortemp_color: (options = {disableColorTempStartup: true, colorTempRange: [250, 454]}) => ({
|
|
135
133
|
...extend.light_onoff_brightness_colortemp_color(options),
|
|
136
|
-
exposes: extend.light_onoff_brightness_colortemp_color(options).exposes.concat(e.power_on_behavior()),
|
|
137
134
|
ota: ota.tradfri,
|
|
138
135
|
onEvent: bulbOnEvent,
|
|
139
136
|
}),
|
|
140
137
|
light_onoff_brightness_color: (options = {}) => ({
|
|
141
138
|
...extend.light_onoff_brightness_color(options),
|
|
142
|
-
exposes: extend.light_onoff_brightness_color(options).exposes.concat(e.power_on_behavior()),
|
|
143
139
|
ota: ota.tradfri,
|
|
144
140
|
onEvent: bulbOnEvent,
|
|
145
141
|
}),
|
package/devices/kurvia.js
CHANGED
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
const tz = require('../converters/toZigbee');
|
|
2
|
-
const exposes = require('../lib/exposes');
|
|
3
2
|
const extend = require('../lib/extend');
|
|
4
|
-
const e = exposes.presets;
|
|
5
3
|
|
|
6
4
|
const extendData = extend.light_onoff_brightness_colortemp_color({colorTempRange: [250, 454]});
|
|
7
5
|
|
|
8
|
-
|
|
9
6
|
module.exports = [
|
|
10
7
|
{
|
|
11
8
|
zigbeeModel: ['ZB-CL01'],
|
|
12
9
|
model: 'ZB-CL01',
|
|
13
10
|
vendor: 'KURVIA',
|
|
14
11
|
description: 'GU10 GRBWC built from AliExpress',
|
|
15
|
-
|
|
12
|
+
extend: extendData,
|
|
16
13
|
toZigbee: [tz.on_off].concat(extendData.toZigbee),
|
|
17
|
-
fromZigbee: extendData.fromZigbee,
|
|
18
14
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
19
15
|
},
|
|
20
16
|
];
|