zigbee-herdsman-converters 15.0.73 → 15.0.74

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/bosch.js CHANGED
@@ -227,6 +227,21 @@ const fzLocal = {
227
227
  return result;
228
228
  },
229
229
  },
230
+ bosch_ignore_dst: {
231
+ cluster: 'genTime',
232
+ type: 'read',
233
+ convert: async (model, msg, publish, options, meta) => {
234
+ if (msg.data.includes('dstStart', 'dstEnd', 'dstShift')) {
235
+ const response = {
236
+ 'dstStart': {attribute: 0x0003, status: herdsman.Zcl.Status.SUCCESS, value: 0x00},
237
+ 'dstEnd': {attribute: 0x0004, status: herdsman.Zcl.Status.SUCCESS, value: 0x00},
238
+ 'dstShift': {attribute: 0x0005, status: herdsman.Zcl.Status.SUCCESS, value: 0x00},
239
+ };
240
+
241
+ await msg.endpoint.readResponse(msg.cluster, msg.meta.zclTransactionSequenceNumber, response);
242
+ }
243
+ },
244
+ },
230
245
  bosch_thermostat: {
231
246
  cluster: 'hvacThermostat',
232
247
  type: ['attributeReport', 'readResponse'],
@@ -421,7 +436,13 @@ const definition = [
421
436
  vendor: 'Bosch',
422
437
  description: 'Radiator thermostat II',
423
438
  ota: ota.zigbeeOTA,
424
- fromZigbee: [fz.thermostat, fz.battery, fzLocal.bosch_thermostat, fzLocal.bosch_userInterface],
439
+ fromZigbee: [
440
+ fz.thermostat,
441
+ fz.battery,
442
+ fzLocal.bosch_ignore_dst,
443
+ fzLocal.bosch_thermostat,
444
+ fzLocal.bosch_userInterface,
445
+ ],
425
446
  toZigbee: [
426
447
  tz.thermostat_occupied_heating_setpoint,
427
448
  tz.thermostat_local_temperature_calibration,
@@ -482,7 +503,7 @@ const definition = [
482
503
  maximumReportInterval: constants.repInterval.HOUR,
483
504
  reportableChange: 1,
484
505
  }], boschManufacturer);
485
- // report boost as it's disabled by thermostat after some time
506
+ // report boost as it's disabled by thermostat after 5 minutes
486
507
  await endpoint.configureReporting('hvacThermostat', [{
487
508
  attribute: {ID: 0x4043, type: herdsman.Zcl.DataType.enum8},
488
509
  minimumReportInterval: 0,
package/devices/tuya.js CHANGED
@@ -353,7 +353,7 @@ const fzLocal = {
353
353
  result['max_brightness'] = utils.mapNumberRange(msg.data['64516'], 0, 1000, 1, 255);
354
354
  }
355
355
  if (msg.data.hasOwnProperty('61440')) {
356
- result['brightness'] = utils.mapNumberRange(msg.data['61440'], 0, 1000, 0, 254);
356
+ result['brightness'] = utils.mapNumberRange(msg.data['61440'], 0, 1000, 0, 255);
357
357
  }
358
358
  return result;
359
359
  },
@@ -1092,6 +1092,7 @@ module.exports = [
1092
1092
  {modelID: 'TS0202', manufacturerName: '_TZ3000_mmtwjmaq'},
1093
1093
  {modelID: 'TS0202', manufacturerName: '_TYZB01_zwvaj5wy'},
1094
1094
  {modelID: 'TS0202', manufacturerName: '_TZ3000_bsvqrxru'},
1095
+ {modelID: 'TS0202', manufacturerName: '_TZ3000_wrgn6xrz'},
1095
1096
  {modelID: 'TS0202', manufacturerName: '_TYZB01_tv3wxhcz'},
1096
1097
  {modelID: 'TS0202', manufacturerName: '_TYZB01_rwb0hxtf'},
1097
1098
  {modelID: 'TS0202', manufacturerName: '_TYZB01_hqbdru35'},
package/lib/tuya.js CHANGED
@@ -1621,7 +1621,7 @@ const tuyaTz = {
1621
1621
  datapoints: {
1622
1622
  key: [
1623
1623
  'temperature_unit', 'temperature_calibration', 'humidity_calibration', 'alarm_switch',
1624
- 'state', 'brightness', 'min_brightness', 'max_brightness', 'power_on_behavior',
1624
+ 'state', 'brightness', 'min_brightness', 'max_brightness', 'power_on_behavior', 'position',
1625
1625
  'countdown', 'light_type', 'silence', 'self_test', 'child_lock', 'open_window', 'open_window_temperature', 'frost_protection',
1626
1626
  'system_mode', 'heating_stop', 'current_heating_setpoint', 'local_temperature_calibration', 'preset', 'boost_timeset_countdown',
1627
1627
  'holiday_start_stop', 'holiday_temperature', 'comfort_temperature', 'eco_temperature', 'working_day',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.73",
3
+ "version": "15.0.74",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [