zigbee-herdsman-converters 14.0.644 → 14.0.646
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/converters/fromZigbee.js +2 -22
- package/devices/adeo.js +7 -0
- package/devices/develco.js +12 -11
- package/devices/innr.js +23 -0
- package/devices/inovelli.js +46 -28
- package/devices/moes.js +1 -87
- package/devices/osram.js +9 -1
- package/devices/philips.js +1 -1
- package/devices/robb.js +7 -3
- package/devices/tuya.js +71 -7
- package/devices/vimar.js +25 -0
- package/lib/ota/OTA_URLs.md +14 -0
- package/lib/tuya.js +18 -5
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -5047,11 +5047,8 @@ const converters = {
|
|
|
5047
5047
|
0x63: 'release_2_and_4', 0x22: 'press_energy_bar',
|
|
5048
5048
|
};
|
|
5049
5049
|
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
} else {
|
|
5053
|
-
return {action: lookup[commandID]};
|
|
5054
|
-
}
|
|
5050
|
+
const action = lookup.hasOwnProperty(commandID) ? lookup[commandID] : `unknown_${commandID}`;
|
|
5051
|
+
return {action};
|
|
5055
5052
|
},
|
|
5056
5053
|
},
|
|
5057
5054
|
enocean_ptm215ze: {
|
|
@@ -7491,23 +7488,6 @@ const converters = {
|
|
|
7491
7488
|
return result;
|
|
7492
7489
|
},
|
|
7493
7490
|
},
|
|
7494
|
-
tuya_gas: {
|
|
7495
|
-
cluster: 'manuSpecificTuya',
|
|
7496
|
-
type: ['commandDataResponse'],
|
|
7497
|
-
convert: (model, msg, publish, options, meta) => {
|
|
7498
|
-
const dpValue = tuya.firstDpValue(msg, meta, 'tuya_gas');
|
|
7499
|
-
const dp = dpValue.dp;
|
|
7500
|
-
const value = tuya.getDataValue(dpValue);
|
|
7501
|
-
|
|
7502
|
-
switch (dp) {
|
|
7503
|
-
case tuya.dataPoints.state:
|
|
7504
|
-
return {gas: value === 0 ? true : false};
|
|
7505
|
-
default:
|
|
7506
|
-
meta.logger.warn(`zigbee-herdsman-converters:tuya_gas: Unrecognized DP #${
|
|
7507
|
-
dp} with data ${JSON.stringify(dpValue)}`);
|
|
7508
|
-
}
|
|
7509
|
-
},
|
|
7510
|
-
},
|
|
7511
7491
|
idlock: {
|
|
7512
7492
|
cluster: 'closuresDoorLock',
|
|
7513
7493
|
type: ['attributeReport', 'readResponse'],
|
package/devices/adeo.js
CHANGED
|
@@ -87,6 +87,13 @@ module.exports = [
|
|
|
87
87
|
description: 'ENKI LEXMAN E14 LED white',
|
|
88
88
|
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
89
89
|
},
|
|
90
|
+
{
|
|
91
|
+
zigbeeModel: ['ZBEK-11'],
|
|
92
|
+
model: 'IM-CDZDGAAG005KA-MZN',
|
|
93
|
+
vendor: 'ADEO',
|
|
94
|
+
description: 'ENKI LEXMAN GU-10 LED white',
|
|
95
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
96
|
+
},
|
|
90
97
|
{
|
|
91
98
|
zigbeeModel: ['ZBEK-12'],
|
|
92
99
|
model: 'IA-CDZFB2AA007NA-MZN-01',
|
package/devices/develco.js
CHANGED
|
@@ -534,24 +534,25 @@ module.exports = [
|
|
|
534
534
|
return {default: 35};
|
|
535
535
|
},
|
|
536
536
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
537
|
+
const endpoint39 = device.getEndpoint(39);
|
|
538
|
+
await reporting.bind(endpoint39, coordinatorEndpoint, ['msIlluminanceMeasurement']);
|
|
539
|
+
await reporting.illuminance(endpoint39,
|
|
540
|
+
{min: constants.repInterval.MINUTE, max: constants.repInterval.MINUTES_10, change: 500});
|
|
541
|
+
|
|
542
|
+
const endpoint38 = device.getEndpoint(38);
|
|
543
|
+
await reporting.bind(endpoint38, coordinatorEndpoint, ['msTemperatureMeasurement']);
|
|
544
|
+
await reporting.temperature(endpoint38,
|
|
545
|
+
{min: constants.repInterval.MINUTE, max: constants.repInterval.MINUTES_10, change: 100});
|
|
546
|
+
|
|
537
547
|
const endpoint35 = device.getEndpoint(35);
|
|
538
548
|
await reporting.bind(endpoint35, coordinatorEndpoint, ['genPowerCfg']);
|
|
539
549
|
await reporting.batteryVoltage(endpoint35, {min: constants.repInterval.HOUR, max: 43200, change: 100});
|
|
550
|
+
await endpoint35.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
551
|
+
|
|
540
552
|
try {
|
|
541
|
-
await endpoint35.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
542
553
|
await endpoint35.read('ssIasZone', ['develcoAlarmOffDelay'], manufacturerOptions);
|
|
543
554
|
await endpoint35.read('genBasic', ['develcoLedControl'], manufacturerOptions);
|
|
544
555
|
} catch (error) {/* some reports of timeouts on reading these */}
|
|
545
|
-
|
|
546
|
-
const endpoint38 = device.getEndpoint(38);
|
|
547
|
-
await reporting.bind(endpoint38, coordinatorEndpoint, ['msTemperatureMeasurement']);
|
|
548
|
-
await reporting.temperature(endpoint38,
|
|
549
|
-
{min: constants.repInterval.MINUTE, max: constants.repInterval.MINUTES_10, change: 100});
|
|
550
|
-
|
|
551
|
-
const endpoint39 = device.getEndpoint(39);
|
|
552
|
-
await reporting.bind(endpoint39, coordinatorEndpoint, ['msIlluminanceMeasurement']);
|
|
553
|
-
await reporting.illuminance(endpoint39,
|
|
554
|
-
{min: constants.repInterval.MINUTE, max: constants.repInterval.MINUTES_10, change: 500});
|
|
555
556
|
},
|
|
556
557
|
},
|
|
557
558
|
{
|
package/devices/innr.js
CHANGED
|
@@ -7,6 +7,21 @@ const e = exposes.presets;
|
|
|
7
7
|
const ea = exposes.access;
|
|
8
8
|
|
|
9
9
|
module.exports = [
|
|
10
|
+
{
|
|
11
|
+
zigbeeModel: ['RC 250'],
|
|
12
|
+
model: 'RC 250',
|
|
13
|
+
vendor: 'Innr',
|
|
14
|
+
description: 'Remote control',
|
|
15
|
+
fromZigbee: [fz.command_step, fz.command_on, fz.command_off, fz.command_move_to_level, fz.command_move_to_color_temp],
|
|
16
|
+
toZigbee: [],
|
|
17
|
+
exposes: [e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down',
|
|
18
|
+
'brightness_move_to_level', 'color_temperature_move'])],
|
|
19
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
20
|
+
const ep = device.getEndpoint(1);
|
|
21
|
+
await reporting.bind(ep, coordinatorEndpoint, ['genBasic', 'genGroups', 'genScenes',
|
|
22
|
+
'genOnOff', 'genLevelCtrl', 'lightingColorCtrl']);
|
|
23
|
+
},
|
|
24
|
+
},
|
|
10
25
|
{
|
|
11
26
|
zigbeeModel: ['RCL 240 T'],
|
|
12
27
|
model: 'RCL 240 T',
|
|
@@ -144,6 +159,14 @@ module.exports = [
|
|
|
144
159
|
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
|
|
145
160
|
meta: {applyRedFix: true, turnsOffAtBrightness1: true},
|
|
146
161
|
},
|
|
162
|
+
{
|
|
163
|
+
zigbeeModel: ['RB 279 T'],
|
|
164
|
+
model: 'RB 279 T',
|
|
165
|
+
vendor: 'Innr',
|
|
166
|
+
description: 'Smart bulb tunable white E27',
|
|
167
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
|
|
168
|
+
meta: {applyRedFix: true, turnsOffAtBrightness1: true},
|
|
169
|
+
},
|
|
147
170
|
{
|
|
148
171
|
zigbeeModel: ['RB 285 C'],
|
|
149
172
|
model: 'RB 285 C',
|
package/devices/inovelli.js
CHANGED
|
@@ -177,19 +177,19 @@ const ATTRIBUTES = {
|
|
|
177
177
|
ID: 13,
|
|
178
178
|
dataType: UINT8,
|
|
179
179
|
min: 0,
|
|
180
|
-
max:
|
|
180
|
+
max: 255,
|
|
181
181
|
description:
|
|
182
182
|
'Default level for the dimmer when it is turned on at the switch.' +
|
|
183
|
-
' A setting of
|
|
183
|
+
' A setting of 255 means that the switch will return to the level that it was on before it was turned off.',
|
|
184
184
|
},
|
|
185
185
|
defaultLevelRemote: {
|
|
186
186
|
ID: 14,
|
|
187
187
|
dataType: UINT8,
|
|
188
188
|
min: 0,
|
|
189
|
-
max:
|
|
189
|
+
max: 255,
|
|
190
190
|
description:
|
|
191
191
|
'Default level for the dimmer when it is turned on from the hub.' +
|
|
192
|
-
' A setting of
|
|
192
|
+
' A setting of 255 means that the switch will return to the level that it was on before it was turned off.',
|
|
193
193
|
},
|
|
194
194
|
stateAfterPowerRestored: {
|
|
195
195
|
ID: 15,
|
|
@@ -197,7 +197,7 @@ const ATTRIBUTES = {
|
|
|
197
197
|
min: 0,
|
|
198
198
|
max: 255,
|
|
199
199
|
description:
|
|
200
|
-
'The state the switch should return to when power is restored after power failure. 0 = off, 1-
|
|
200
|
+
'The state the switch should return to when power is restored after power failure. 0 = off, 1-254 = level, 255 = previous.',
|
|
201
201
|
},
|
|
202
202
|
loadLevelIndicatorTimeout: {
|
|
203
203
|
ID: 17,
|
|
@@ -225,12 +225,11 @@ const ATTRIBUTES = {
|
|
|
225
225
|
},
|
|
226
226
|
activePowerReports: {
|
|
227
227
|
ID: 18,
|
|
228
|
-
dataType:
|
|
228
|
+
dataType: UINT8,
|
|
229
229
|
min: 0,
|
|
230
|
-
max:
|
|
230
|
+
max: 100,
|
|
231
231
|
description:
|
|
232
|
-
'
|
|
233
|
-
'0 = disabled, 1-32767 = 0.1W-3276.7W.',
|
|
232
|
+
'Percent power level change that will result in a new power report being sent. 0 = Disabled',
|
|
234
233
|
},
|
|
235
234
|
periodicPowerAndEnergyReports: {
|
|
236
235
|
ID: 19,
|
|
@@ -256,6 +255,7 @@ const ATTRIBUTES = {
|
|
|
256
255
|
values: {'Non Neutral': 0, 'Neutral': 1},
|
|
257
256
|
min: 0,
|
|
258
257
|
max: 1,
|
|
258
|
+
readOnly: true,
|
|
259
259
|
description: 'Set the power type for the device.',
|
|
260
260
|
},
|
|
261
261
|
switchType: {
|
|
@@ -267,11 +267,13 @@ const ATTRIBUTES = {
|
|
|
267
267
|
max: 2,
|
|
268
268
|
description: 'Set the switch configuration.',
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
buttonDelay: {
|
|
271
271
|
ID: 50,
|
|
272
272
|
dataType: UINT8,
|
|
273
273
|
values: {
|
|
274
274
|
'0ms': 0,
|
|
275
|
+
'100ms': 1,
|
|
276
|
+
'200ms': 2,
|
|
275
277
|
'300ms': 3,
|
|
276
278
|
'400ms': 4,
|
|
277
279
|
'500ms': 5,
|
|
@@ -285,7 +287,7 @@ const ATTRIBUTES = {
|
|
|
285
287
|
max: 9,
|
|
286
288
|
description:
|
|
287
289
|
'This will set the button press delay. 0 = no delay (Disables Button Press Events),' +
|
|
288
|
-
'
|
|
290
|
+
'Default = 500ms.',
|
|
289
291
|
},
|
|
290
292
|
smartBulbMode: {
|
|
291
293
|
ID: 52,
|
|
@@ -610,7 +612,7 @@ const ATTRIBUTES = {
|
|
|
610
612
|
description:
|
|
611
613
|
'Intesity of LED strip when off. 101 = Syncronized with default all LED strip intensity parameter.',
|
|
612
614
|
},
|
|
613
|
-
|
|
615
|
+
doubleTapUpForFullBrightness: {
|
|
614
616
|
ID: 53,
|
|
615
617
|
dataType: BOOLEAN,
|
|
616
618
|
min: 0,
|
|
@@ -620,6 +622,16 @@ const ATTRIBUTES = {
|
|
|
620
622
|
'Button Press Event Only': 0,
|
|
621
623
|
'Button Press Event + Set Load to 100%': 1,
|
|
622
624
|
},
|
|
625
|
+
displayType: 'enum',
|
|
626
|
+
},
|
|
627
|
+
relayClick: {
|
|
628
|
+
ID: 261,
|
|
629
|
+
dataType: BOOLEAN,
|
|
630
|
+
min: 0,
|
|
631
|
+
max: 1,
|
|
632
|
+
description: 'Audible Click in On/Off mode.',
|
|
633
|
+
values: {'Enabled (Default)': 1, 'Disabled': 0},
|
|
634
|
+
displayType: 'enum',
|
|
623
635
|
},
|
|
624
636
|
};
|
|
625
637
|
|
|
@@ -644,11 +656,12 @@ tzLocal.inovelli_vzw31sn_parameters = {
|
|
|
644
656
|
manufacturerCode: INOVELLI,
|
|
645
657
|
});
|
|
646
658
|
|
|
647
|
-
meta.state[key] = value;
|
|
648
|
-
|
|
649
659
|
return {
|
|
650
660
|
state: {
|
|
651
|
-
[key]:
|
|
661
|
+
[key]:
|
|
662
|
+
ATTRIBUTES[key].displayType === 'enum' ?
|
|
663
|
+
ATTRIBUTES[key].values[value] :
|
|
664
|
+
value,
|
|
652
665
|
},
|
|
653
666
|
};
|
|
654
667
|
},
|
|
@@ -700,7 +713,7 @@ tzLocal.inovelli_vzw31sn_parameters_readOnly = {
|
|
|
700
713
|
};
|
|
701
714
|
|
|
702
715
|
tzLocal.inovelli_led_effect = {
|
|
703
|
-
key: ['
|
|
716
|
+
key: ['led_effect'],
|
|
704
717
|
convertSet: async (entity, key, values, meta) => {
|
|
705
718
|
await entity.command(
|
|
706
719
|
'manuSpecificInovelliVZM31SN',
|
|
@@ -718,7 +731,7 @@ tzLocal.inovelli_led_effect = {
|
|
|
718
731
|
};
|
|
719
732
|
|
|
720
733
|
tzLocal.inovelli_individual_led_effect = {
|
|
721
|
-
key: ['
|
|
734
|
+
key: ['individual_led_effect'],
|
|
722
735
|
convertSet: async (entity, key, values, meta) => {
|
|
723
736
|
await entity.command(
|
|
724
737
|
'manuSpecificInovelliVZM31SN',
|
|
@@ -807,7 +820,6 @@ const inovelliOnOffConvertSet = async (entity, key, value, meta) => {
|
|
|
807
820
|
*/
|
|
808
821
|
tzLocal.light_onoff_brightness_inovelli = {
|
|
809
822
|
key: ['state', 'brightness', 'brightness_percent'],
|
|
810
|
-
// options: [exposes.options.transition()], this is a setting on the device
|
|
811
823
|
convertSet: async (entity, key, value, meta) => {
|
|
812
824
|
const {message} = meta;
|
|
813
825
|
const transition = utils.getTransition(entity, 'brightness', meta);
|
|
@@ -1146,7 +1158,7 @@ Object.keys(ATTRIBUTES).forEach((key) => {
|
|
|
1146
1158
|
const enumE = exposes
|
|
1147
1159
|
.enum(
|
|
1148
1160
|
key,
|
|
1149
|
-
ATTRIBUTES[key].readOnly ? ea.
|
|
1161
|
+
ATTRIBUTES[key].readOnly ? ea.STATE_GET : ea.ALL,
|
|
1150
1162
|
Object.keys(ATTRIBUTES[key].values),
|
|
1151
1163
|
)
|
|
1152
1164
|
.withDescription(ATTRIBUTES[key].description);
|
|
@@ -1159,7 +1171,7 @@ Object.keys(ATTRIBUTES).forEach((key) => {
|
|
|
1159
1171
|
exposes
|
|
1160
1172
|
.binary(
|
|
1161
1173
|
key,
|
|
1162
|
-
ATTRIBUTES[key].readOnly ? ea.
|
|
1174
|
+
ATTRIBUTES[key].readOnly ? ea.STATE_GET : ea.ALL,
|
|
1163
1175
|
ATTRIBUTES[key].values.Enabled,
|
|
1164
1176
|
ATTRIBUTES[key].values.Disabled,
|
|
1165
1177
|
)
|
|
@@ -1167,7 +1179,7 @@ Object.keys(ATTRIBUTES).forEach((key) => {
|
|
|
1167
1179
|
);
|
|
1168
1180
|
} else {
|
|
1169
1181
|
const numeric = exposes
|
|
1170
|
-
.numeric(key, ATTRIBUTES[key].readOnly ? ea.
|
|
1182
|
+
.numeric(key, ATTRIBUTES[key].readOnly ? ea.STATE_GET : ea.ALL)
|
|
1171
1183
|
.withValueMin(ATTRIBUTES[key].min)
|
|
1172
1184
|
.withValueMax(ATTRIBUTES[key].max);
|
|
1173
1185
|
|
|
@@ -1206,20 +1218,26 @@ module.exports = [
|
|
|
1206
1218
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1207
1219
|
const endpoint = device.getEndpoint(1);
|
|
1208
1220
|
await reporting.bind(endpoint, coordinatorEndpoint, [
|
|
1209
|
-
'
|
|
1210
|
-
'
|
|
1221
|
+
'seMetering',
|
|
1222
|
+
'haElectricalMeasurement',
|
|
1211
1223
|
]);
|
|
1212
|
-
|
|
1213
1224
|
// Bind for Button Event Reporting
|
|
1214
1225
|
const endpoint2 = device.getEndpoint(2);
|
|
1215
1226
|
await reporting.bind(endpoint2, coordinatorEndpoint, [
|
|
1216
1227
|
'manuSpecificInovelliVZM31SN',
|
|
1217
1228
|
]);
|
|
1229
|
+
await endpoint.read('haElectricalMeasurement', [
|
|
1230
|
+
'acPowerMultiplier',
|
|
1231
|
+
'acPowerDivisor',
|
|
1232
|
+
]);
|
|
1233
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
1218
1234
|
|
|
1219
|
-
await reporting.
|
|
1220
|
-
await reporting.
|
|
1221
|
-
|
|
1222
|
-
|
|
1235
|
+
await reporting.activePower(endpoint, {min: 1, max: 3600, change: 1});
|
|
1236
|
+
await reporting.currentSummDelivered(endpoint, {
|
|
1237
|
+
min: 1,
|
|
1238
|
+
max: 3600,
|
|
1239
|
+
change: 0,
|
|
1240
|
+
});
|
|
1223
1241
|
},
|
|
1224
1242
|
},
|
|
1225
1243
|
];
|
package/devices/moes.js
CHANGED
|
@@ -8,78 +8,10 @@ const extend = require('../lib/extend');
|
|
|
8
8
|
const e = exposes.presets;
|
|
9
9
|
const ea = exposes.access;
|
|
10
10
|
const zosung = require('../lib/zosung');
|
|
11
|
-
const utils = require('../lib/utils');
|
|
12
11
|
const fzZosung = zosung.fzZosung;
|
|
13
12
|
const tzZosung = zosung.tzZosung;
|
|
14
13
|
const ez = zosung.presetsZosung;
|
|
15
14
|
|
|
16
|
-
const fzLocal = {
|
|
17
|
-
ZSEUD: {
|
|
18
|
-
cluster: 'manuSpecificTuya',
|
|
19
|
-
type: ['commandDataResponse', 'commandDataReport'],
|
|
20
|
-
convert: async (model, msg, publish, options, meta) => {
|
|
21
|
-
const result = {};
|
|
22
|
-
for (const dpValue of msg.data.dpValues) {
|
|
23
|
-
const dp = dpValue.dp;
|
|
24
|
-
const value = tuya.getDataValue(dpValue);
|
|
25
|
-
switch (dp) {
|
|
26
|
-
case 1:
|
|
27
|
-
result.state_l1 = value ? 'ON' : 'OFF';
|
|
28
|
-
break;
|
|
29
|
-
case 2:
|
|
30
|
-
result.brightness_l1 = utils.mapNumberRange(value, 0, 1000, 0, 254);
|
|
31
|
-
break;
|
|
32
|
-
case 7:
|
|
33
|
-
result.state_l2 = value ? 'ON' : 'OFF';
|
|
34
|
-
break;
|
|
35
|
-
case 8:
|
|
36
|
-
result.brightness_l2 = utils.mapNumberRange(value, 0, 1000, 0, 254);
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
meta.logger.warn(`zigbee-herdsman-converters:ZSEUD: NOT RECOGNIZED DP #${dp} with data ${JSON.stringify(dpValue)}`);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return result;
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const tzLocal = {
|
|
48
|
-
ZSEUD_state: {
|
|
49
|
-
key: ['state'],
|
|
50
|
-
convertSet: async (entity, key, value, meta) => {
|
|
51
|
-
const lookup = {l1: 1, l2: 7};
|
|
52
|
-
const dp = lookup[meta.endpoint_name];
|
|
53
|
-
await tuya.sendDataPointBool(entity, dp, value === 'ON');
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
ZSEUD_brightness: {
|
|
57
|
-
key: ['brightness'],
|
|
58
|
-
convertSet: async (entity, key, value, meta) => {
|
|
59
|
-
const lookup = {l1: 2, l2: 8};
|
|
60
|
-
const dp = lookup[meta.endpoint_name];
|
|
61
|
-
|
|
62
|
-
if (key == 'brightness') {
|
|
63
|
-
// upscale to 1000
|
|
64
|
-
if (value >= 0 && value <= 254) {
|
|
65
|
-
const newValue = utils.mapNumberRange(value, 0, 254, 0, 1000);
|
|
66
|
-
// Always use same transid as tuya_dimmer_state (https://github.com/Koenkk/zigbee2mqtt/issues/6366)
|
|
67
|
-
if (meta.state[`state_${meta.endpoint_name}`] === 'ON') {
|
|
68
|
-
await tuya.sendDataPointValue(entity, dp, newValue, 'dataRequest', 1);
|
|
69
|
-
} else {
|
|
70
|
-
await tuya.sendDataPoints(entity, [tuya.dpValueFromBool(dp-1, true), tuya.dpValueFromIntValue(dp, newValue)],
|
|
71
|
-
'dataRequest', 1);
|
|
72
|
-
}
|
|
73
|
-
} else {
|
|
74
|
-
throw new Error('Dimmer brightness is out of range 0..254');
|
|
75
|
-
}
|
|
76
|
-
} else {
|
|
77
|
-
meta.logger.warn(`ZSEUD TZ unsupported key=${key} value=${value}`);
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
};
|
|
82
|
-
|
|
83
15
|
const exposesLocal = {
|
|
84
16
|
hour: (name) => exposes.numeric(name, ea.STATE_SET).withUnit('h').withValueMin(0).withValueMax(23),
|
|
85
17
|
minute: (name) => exposes.numeric(name, ea.STATE_SET).withUnit('m').withValueMin(0).withValueMax(59),
|
|
@@ -369,7 +301,7 @@ module.exports = [
|
|
|
369
301
|
exposes: [
|
|
370
302
|
e.battery(), e.child_lock(), e.eco_mode(), e.eco_temperature(), e.max_temperature().withValueMax(45), e.min_temperature(),
|
|
371
303
|
e.valve_state(), e.position(), e.window_detection(),
|
|
372
|
-
exposes.binary('window', ea.STATE, '
|
|
304
|
+
exposes.binary('window', ea.STATE, 'OPEN', 'CLOSED').withDescription('Window status closed or open '),
|
|
373
305
|
exposes.climate()
|
|
374
306
|
.withLocalTemperature(ea.STATE).withSetpoint('current_heating_setpoint', 5, 35, 0.5, ea.STATE_SET)
|
|
375
307
|
.withLocalTemperatureCalibration(-9, 9, 1, ea.STATE_SET)
|
|
@@ -391,24 +323,6 @@ module.exports = [
|
|
|
391
323
|
exposes.numeric('boost_heating_countdown_time_set', ea.STATE_SET).withUnit('second')
|
|
392
324
|
.withDescription('Boost Time Setting 100 sec - 900 sec, (default = 300 sec)').withValueMin(100).withValueMax(900)],
|
|
393
325
|
},
|
|
394
|
-
{
|
|
395
|
-
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_fjjbhx9d'}],
|
|
396
|
-
model: 'ZS-EUD',
|
|
397
|
-
vendor: 'Moes',
|
|
398
|
-
description: '2 gang light dimmer switch',
|
|
399
|
-
fromZigbee: [fzLocal.ZSEUD, fz.ignore_basic_report],
|
|
400
|
-
toZigbee: [tzLocal.ZSEUD_brightness, tzLocal.ZSEUD_state],
|
|
401
|
-
meta: {turnsOffAtBrightness1: true, multiEndpoint: true},
|
|
402
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
403
|
-
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
404
|
-
if (device.getEndpoint(2)) await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
405
|
-
},
|
|
406
|
-
exposes: [e.light_brightness().withEndpoint('l1').setAccess('state', ea.STATE_SET).setAccess('brightness', ea.STATE_SET),
|
|
407
|
-
e.light_brightness().withEndpoint('l2').setAccess('state', ea.STATE_SET).setAccess('brightness', ea.STATE_SET)],
|
|
408
|
-
endpoint: (device) => {
|
|
409
|
-
return {'l1': 1, 'l2': 1};
|
|
410
|
-
},
|
|
411
|
-
},
|
|
412
326
|
{
|
|
413
327
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_e3oitdyu'}],
|
|
414
328
|
model: 'MS-105B',
|
package/devices/osram.js
CHANGED
|
@@ -227,7 +227,7 @@ module.exports = [
|
|
|
227
227
|
model: '4052899926110',
|
|
228
228
|
vendor: 'OSRAM',
|
|
229
229
|
description: 'Flex RGBW',
|
|
230
|
-
extend: extend.ledvance.light_onoff_brightness_colortemp_color({colorTempRange: [125, 666], supportsHS: true
|
|
230
|
+
extend: extend.ledvance.light_onoff_brightness_colortemp_color({colorTempRange: [125, 666], supportsHS: true}),
|
|
231
231
|
ota: ota.ledvance,
|
|
232
232
|
},
|
|
233
233
|
{
|
|
@@ -458,4 +458,12 @@ module.exports = [
|
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
460
|
},
|
|
461
|
+
{
|
|
462
|
+
zigbeeModel: ['LIGHTIFY Under Cabinet TW'],
|
|
463
|
+
model: '71150',
|
|
464
|
+
vendor: 'OSRAM',
|
|
465
|
+
description: 'Lightify under cabinet tunable white',
|
|
466
|
+
extend: extend.ledvance.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
467
|
+
ota: ota.ledvance,
|
|
468
|
+
},
|
|
461
469
|
];
|
package/devices/philips.js
CHANGED
|
@@ -813,7 +813,7 @@ module.exports = [
|
|
|
813
813
|
extend: hueExtend.light_onoff_brightness(),
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
|
-
zigbeeModel: ['LTA001', '4080130P6'],
|
|
816
|
+
zigbeeModel: ['LTA001', '4080130P6', '4300631P6'],
|
|
817
817
|
model: '9290022169',
|
|
818
818
|
vendor: 'Philips',
|
|
819
819
|
description: 'Hue white ambiance E27 with Bluetooth',
|
package/devices/robb.js
CHANGED
|
@@ -209,18 +209,22 @@ module.exports = [
|
|
|
209
209
|
model: 'ROB_200-017-0',
|
|
210
210
|
vendor: 'ROBB',
|
|
211
211
|
description: 'Zigbee smart plug',
|
|
212
|
-
fromZigbee: [fz.electrical_measurement, fz.on_off, fz.ignore_genLevelCtrl_report, fz.metering],
|
|
212
|
+
fromZigbee: [fz.electrical_measurement, fz.on_off, fz.ignore_genLevelCtrl_report, fz.metering, fz.temperature],
|
|
213
213
|
toZigbee: [tz.on_off],
|
|
214
214
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
215
215
|
const endpoint = device.getEndpoint(1);
|
|
216
|
-
await reporting.bind(endpoint, coordinatorEndpoint,
|
|
216
|
+
await reporting.bind(endpoint, coordinatorEndpoint,
|
|
217
|
+
['genOnOff', 'haElectricalMeasurement', 'seMetering', 'msTemperatureMeasurement']);
|
|
217
218
|
await reporting.onOff(endpoint);
|
|
218
219
|
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
220
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
219
221
|
await reporting.rmsVoltage(endpoint);
|
|
220
222
|
await reporting.rmsCurrent(endpoint);
|
|
221
223
|
await reporting.activePower(endpoint);
|
|
224
|
+
await reporting.temperature(endpoint);
|
|
225
|
+
await reporting.currentSummDelivered(endpoint);
|
|
222
226
|
},
|
|
223
|
-
exposes: [e.power(), e.current(), e.voltage().withAccess(ea.STATE), e.switch(), e.energy()],
|
|
227
|
+
exposes: [e.power(), e.current(), e.voltage().withAccess(ea.STATE), e.switch(), e.energy(), e.temperature()],
|
|
224
228
|
},
|
|
225
229
|
{
|
|
226
230
|
zigbeeModel: ['ROB_200-017-1'],
|
package/devices/tuya.js
CHANGED
|
@@ -22,7 +22,7 @@ const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak',
|
|
|
22
22
|
'_TZ3000_zloso4jk', '_TZ3000_r6buo8ba', '_TZ3000_iksasdbv', '_TZ3000_idrffznf', '_TZ3000_okaz9tjs', '_TZ3210_q7oryllx',
|
|
23
23
|
'_TZ3000_ss98ec5d', '_TZ3000_gznh2xla', '_TZ3000_hdopuwv6', '_TZ3000_gvn91tmx', '_TZ3000_dksbtrzs', '_TZ3000_b28wrpvx',
|
|
24
24
|
'_TZ3000_aim0ztek', '_TZ3000_mlswgkc3', '_TZ3000_7dndcnnb', '_TZ3000_waho4jtj', '_TZ3000_nmsciidq', '_TZ3000_jtgxgmks',
|
|
25
|
-
'_TZ3000_rdfh8cfs'];
|
|
25
|
+
'_TZ3000_rdfh8cfs', '_TZ3000_yujkchbz'];
|
|
26
26
|
|
|
27
27
|
const tzLocal = {
|
|
28
28
|
SA12IZL_silence_siren: {
|
|
@@ -781,13 +781,23 @@ module.exports = [
|
|
|
781
781
|
exposes: [e.carbon_monoxide(), e.co()],
|
|
782
782
|
},
|
|
783
783
|
{
|
|
784
|
-
fingerprint:
|
|
784
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ggev5fsl', '_TZE200_u319yc66']),
|
|
785
785
|
model: 'TS0601_gas_sensor',
|
|
786
786
|
vendor: 'TuYa',
|
|
787
787
|
description: 'gas sensor',
|
|
788
|
-
fromZigbee: [
|
|
789
|
-
toZigbee: [],
|
|
790
|
-
|
|
788
|
+
fromZigbee: [tuya.fzDataPoints],
|
|
789
|
+
toZigbee: [tuya.tzDataPoints],
|
|
790
|
+
configure: tuya.configureMagicPacket,
|
|
791
|
+
exposes: [e.gas(), tuya.exposes.selfTest(), tuya.exposes.selfTestResult(), tuya.exposes.faultAlarm(), tuya.exposes.silence()],
|
|
792
|
+
meta: {
|
|
793
|
+
tuyaDatapoints: [
|
|
794
|
+
[1, 'gas', tuya.valueConverter.true0ElseFalse],
|
|
795
|
+
[8, 'self_test', tuya.valueConverter.raw],
|
|
796
|
+
[9, 'self_test_result', tuya.valueConverter.selfTestResult],
|
|
797
|
+
[11, 'fault_alarm', tuya.valueConverter.trueFalse],
|
|
798
|
+
[16, 'silence', tuya.valueConverter.raw],
|
|
799
|
+
],
|
|
800
|
+
},
|
|
791
801
|
},
|
|
792
802
|
{
|
|
793
803
|
fingerprint: [{modelID: 'TS0001', manufacturerName: '_TZ3000_hktqahrq'}, {manufacturerName: '_TZ3000_hktqahrq'},
|
|
@@ -1172,7 +1182,7 @@ module.exports = [
|
|
|
1172
1182
|
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ip2akl4w', '_TZE200_1agwnems', '_TZE200_la2c2uo9', '_TZE200_579lguh2']),
|
|
1173
1183
|
model: 'TS0601_dimmer_1',
|
|
1174
1184
|
vendor: 'TuYa',
|
|
1175
|
-
description: '
|
|
1185
|
+
description: '1 gang smart dimmer',
|
|
1176
1186
|
fromZigbee: [tuya.fzDataPoints],
|
|
1177
1187
|
toZigbee: [tuya.tzDataPoints],
|
|
1178
1188
|
configure: tuya.configureMagicPacket,
|
|
@@ -1192,6 +1202,60 @@ module.exports = [
|
|
|
1192
1202
|
whiteLabel: [
|
|
1193
1203
|
{vendor: 'Moes', model: 'MS-105Z'},
|
|
1194
1204
|
{vendor: 'Lerlink', model: 'X706U'},
|
|
1205
|
+
{vendor: 'Moes', model: 'ZS-EUD_1gang'},
|
|
1206
|
+
],
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_fjjbhx9d']),
|
|
1210
|
+
model: 'TS0601_dimmer_2',
|
|
1211
|
+
vendor: 'TuYa',
|
|
1212
|
+
description: '2 gang smart dimmer',
|
|
1213
|
+
fromZigbee: [tuya.fzDataPoints],
|
|
1214
|
+
toZigbee: [tuya.tzDataPoints],
|
|
1215
|
+
configure: tuya.configureMagicPacket,
|
|
1216
|
+
exposes: [tuya.exposes.lightBrightness().withEndpoint('l1'), tuya.exposes.lightBrightness().withEndpoint('l2')],
|
|
1217
|
+
meta: {
|
|
1218
|
+
multiEndpoint: true,
|
|
1219
|
+
tuyaDatapoints: [
|
|
1220
|
+
[1, 'state_l1', tuya.valueConverter.onOff, {skip: tuya.skip.stateOnAndBrightnessPresent}],
|
|
1221
|
+
[2, 'brightness_l1', tuya.valueConverter.scale0_254to0_1000],
|
|
1222
|
+
[7, 'state_l2', tuya.valueConverter.onOff, {skip: tuya.skip.stateOnAndBrightnessPresent}],
|
|
1223
|
+
[8, 'brightness_l2', tuya.valueConverter.scale0_254to0_1000],
|
|
1224
|
+
],
|
|
1225
|
+
},
|
|
1226
|
+
endpoint: (device) => {
|
|
1227
|
+
return {'l1': 1, 'l2': 1};
|
|
1228
|
+
},
|
|
1229
|
+
whiteLabel: [
|
|
1230
|
+
{vendor: 'Moes', model: 'ZS-EUD_2gang'},
|
|
1231
|
+
],
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_vm1gyrso']),
|
|
1235
|
+
model: 'TS0601_dimmer_3',
|
|
1236
|
+
vendor: 'TuYa',
|
|
1237
|
+
description: '3 gang smart dimmer',
|
|
1238
|
+
fromZigbee: [tuya.fzDataPoints],
|
|
1239
|
+
toZigbee: [tuya.tzDataPoints],
|
|
1240
|
+
configure: tuya.configureMagicPacket,
|
|
1241
|
+
exposes: [tuya.exposes.lightBrightness().withEndpoint('l1'), tuya.exposes.lightBrightness().withEndpoint('l2'),
|
|
1242
|
+
tuya.exposes.lightBrightness().withEndpoint('l3')],
|
|
1243
|
+
meta: {
|
|
1244
|
+
multiEndpoint: true,
|
|
1245
|
+
tuyaDatapoints: [
|
|
1246
|
+
[1, 'state_l1', tuya.valueConverter.onOff, {skip: tuya.skip.stateOnAndBrightnessPresent}],
|
|
1247
|
+
[2, 'brightness_l1', tuya.valueConverter.scale0_254to0_1000],
|
|
1248
|
+
[7, 'state_l2', tuya.valueConverter.onOff, {skip: tuya.skip.stateOnAndBrightnessPresent}],
|
|
1249
|
+
[8, 'brightness_l2', tuya.valueConverter.scale0_254to0_1000],
|
|
1250
|
+
[15, 'state_l3', tuya.valueConverter.onOff, {skip: tuya.skip.stateOnAndBrightnessPresent}],
|
|
1251
|
+
[16, 'brightness_l3', tuya.valueConverter.scale0_254to0_1000],
|
|
1252
|
+
],
|
|
1253
|
+
},
|
|
1254
|
+
endpoint: (device) => {
|
|
1255
|
+
return {'l1': 1, 'l2': 1, 'l3': 1};
|
|
1256
|
+
},
|
|
1257
|
+
whiteLabel: [
|
|
1258
|
+
{vendor: 'Moes', model: 'ZS-EUD_3gang'},
|
|
1195
1259
|
],
|
|
1196
1260
|
},
|
|
1197
1261
|
{
|
|
@@ -1950,6 +2014,7 @@ module.exports = [
|
|
|
1950
2014
|
{modelID: 'TS0601', manufacturerName: '_TZE200_cpmgn2cf'},
|
|
1951
2015
|
{modelID: 'TS0601', manufacturerName: '_TZE200_4eeyebrt'}, // Immax 07732B
|
|
1952
2016
|
{modelID: 'TS0601', manufacturerName: '_TZE200_8whxpsiw'}, // EVOLVEO
|
|
2017
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_bvu2wnxz'}, /* model: 'TRV06', vendor: 'AVATTO' */
|
|
1953
2018
|
],
|
|
1954
2019
|
model: 'TS0601_thermostat',
|
|
1955
2020
|
vendor: 'TuYa',
|
|
@@ -2002,7 +2067,6 @@ module.exports = [
|
|
|
2002
2067
|
{modelID: 'TS0601', manufacturerName: '_TZE200_mudxchsu'}, /* model: 'TV05-ZG curve', vendor: 'TuYa' */
|
|
2003
2068
|
{modelID: 'TS0601', manufacturerName: '_TZE200_7yoranx2'}, /* model: 'TV01-ZB', vendor: 'Moes' */
|
|
2004
2069
|
{modelID: 'TS0601', manufacturerName: '_TZE200_kds0pmmv'}, /* model: 'TV01-ZB', vendor: 'Moes' */
|
|
2005
|
-
{modelID: 'TS0601', manufacturerName: '_TZE200_bvu2wnxz'}, /* model: 'TRV06', vendor: 'AVATTO' */
|
|
2006
2070
|
],
|
|
2007
2071
|
model: 'TV02-Zigbee',
|
|
2008
2072
|
vendor: 'TuYa',
|
package/devices/vimar.js
CHANGED
|
@@ -48,4 +48,29 @@ module.exports = [
|
|
|
48
48
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
zigbeeModel: ['Thermostat_v0.1'],
|
|
53
|
+
model: '02973.B',
|
|
54
|
+
vendor: 'Vimar',
|
|
55
|
+
description: 'Vimar IoT thermostat',
|
|
56
|
+
fromZigbee: [fz.thermostat],
|
|
57
|
+
toZigbee: [
|
|
58
|
+
tz.thermostat_local_temperature,
|
|
59
|
+
tz.thermostat_occupied_heating_setpoint,
|
|
60
|
+
tz.thermostat_occupied_cooling_setpoint,
|
|
61
|
+
tz.thermostat_system_mode,
|
|
62
|
+
],
|
|
63
|
+
exposes: [
|
|
64
|
+
exposes.climate().withSetpoint('occupied_heating_setpoint', 4, 40, 0.1)
|
|
65
|
+
.withSetpoint('occupied_cooling_setpoint', 4, 40, 0.1)
|
|
66
|
+
.withLocalTemperature()
|
|
67
|
+
.withSystemMode(['heat', 'cool']),
|
|
68
|
+
],
|
|
69
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
70
|
+
const endpoint = device.getEndpoint(10);
|
|
71
|
+
const binds = ['genBasic', 'genIdentify', 'hvacThermostat'];
|
|
72
|
+
await reporting.bind(endpoint, coordinatorEndpoint, binds);
|
|
73
|
+
await reporting.thermostatTemperature(endpoint);
|
|
74
|
+
},
|
|
75
|
+
},
|
|
51
76
|
];
|
package/lib/ota/OTA_URLs.md
CHANGED
|
@@ -18,6 +18,20 @@ https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/OTA-Image-Types---
|
|
|
18
18
|
|
|
19
19
|
Dresden Elektronik also provide third-party OTA firmware images and external URLs for many third-party Zigbee OTA firmware images.
|
|
20
20
|
|
|
21
|
+
### Inovelli OTA Firmware provider
|
|
22
|
+
|
|
23
|
+
Inovelli Zigbee OTA firmware images are made publicly available by Inovelli (first-party) at the following URLs:
|
|
24
|
+
|
|
25
|
+
https://files.inovelli.com/firmware/firmware.json
|
|
26
|
+
|
|
27
|
+
https://files.inovelli.com/firmware
|
|
28
|
+
|
|
29
|
+
### Sonoff OTA Firmware provider
|
|
30
|
+
|
|
31
|
+
Sonoff Zigbee OTA firmware images are made publicly available by Sonoff (first-party) at the following URLs:
|
|
32
|
+
|
|
33
|
+
https://zigbee-ota.sonoff.tech/releases/upgrade.json
|
|
34
|
+
|
|
21
35
|
### EUROTRONICS
|
|
22
36
|
|
|
23
37
|
EUROTRONICS Zigbee OTA firmware images are made publicly available by EUROTRONIC Technology (first-party) at the following URL:
|
package/lib/tuya.js
CHANGED
|
@@ -1141,12 +1141,23 @@ const tuyaExposes = {
|
|
|
1141
1141
|
.withDescription('Controls the behavior when the device is powered on'),
|
|
1142
1142
|
lightType: () => exposes.enum('light_type', ea.STATE_SET, ['led', 'incandescent', 'halogen'])
|
|
1143
1143
|
.withDescription('Type of light attached to the device'),
|
|
1144
|
-
lightBrightnessWithMinMax: () => e.light_brightness().withMinBrightness().withMaxBrightness()
|
|
1145
|
-
|
|
1146
|
-
|
|
1144
|
+
lightBrightnessWithMinMax: () => e.light_brightness().withMinBrightness().withMaxBrightness()
|
|
1145
|
+
.setAccess('state', ea.STATE_SET)
|
|
1146
|
+
.setAccess('brightness', ea.STATE_SET)
|
|
1147
|
+
.setAccess('min_brightness', ea.STATE_SET)
|
|
1148
|
+
.setAccess('max_brightness', ea.STATE_SET),
|
|
1149
|
+
lightBrightness: () => e.light_brightness()
|
|
1150
|
+
.setAccess('state', ea.STATE_SET)
|
|
1151
|
+
.setAccess('brightness', ea.STATE_SET),
|
|
1147
1152
|
countdown: () => exposes.numeric('countdown', ea.STATE_SET).withValueMin(0).withValueMax(43200).withValueStep(1).withUnit('s')
|
|
1148
1153
|
.withDescription('Countdown to turn device off after a certain time'),
|
|
1149
1154
|
switch: () => e.switch().setAccess('state', ea.STATE_SET),
|
|
1155
|
+
selfTest: () => exposes.binary('self_test', ea.STATE_SET, true, false)
|
|
1156
|
+
.withDescription('Indicates whether the device is being self-tested'),
|
|
1157
|
+
selfTestResult: () => exposes.enum('self_test_result', ea.STATE, ['checking', 'success', 'failure', 'others'])
|
|
1158
|
+
.withDescription('Result of the self-test'),
|
|
1159
|
+
faultAlarm: () => exposes.binary('fault_alarm', ea.STATE, true, false).withDescription('Indicates whether a fault was detected'),
|
|
1160
|
+
silence: () => exposes.binary('silence', ea.STATE_SET, true, false).withDescription('Silence the alarm'),
|
|
1150
1161
|
};
|
|
1151
1162
|
|
|
1152
1163
|
const skip = {
|
|
@@ -1210,10 +1221,12 @@ const valueConverter = {
|
|
|
1210
1221
|
},
|
|
1211
1222
|
},
|
|
1212
1223
|
true0ElseFalse: {from: (v) => v === 0},
|
|
1224
|
+
selfTestResult: valueConverterBasic.lookup({'checking': 0, 'success': 1, 'failure': 2, 'others': 3}),
|
|
1213
1225
|
};
|
|
1214
1226
|
|
|
1215
1227
|
const tzDataPoints = {
|
|
1216
|
-
key: ['state', 'brightness', 'min_brightness', 'max_brightness', 'power_on_behavior',
|
|
1228
|
+
key: ['state', 'brightness', 'min_brightness', 'max_brightness', 'power_on_behavior',
|
|
1229
|
+
'countdown', 'light_type', 'silence', 'self_test'],
|
|
1217
1230
|
convertSet: async (entity, key, value, meta) => {
|
|
1218
1231
|
// A set converter is only called once; therefore we need to loop
|
|
1219
1232
|
const state = {};
|
|
@@ -1235,7 +1248,7 @@ const tzDataPoints = {
|
|
|
1235
1248
|
} else {
|
|
1236
1249
|
throw new Error(`Don't know how to send type '${typeof convertedValue}'`);
|
|
1237
1250
|
}
|
|
1238
|
-
state[
|
|
1251
|
+
state[key] = value;
|
|
1239
1252
|
}
|
|
1240
1253
|
return {state};
|
|
1241
1254
|
},
|