zigbee-herdsman-converters 14.0.364 → 14.0.365

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/osram.js CHANGED
@@ -191,7 +191,7 @@ module.exports = [
191
191
  description: 'Smart+ plug',
192
192
  vendor: 'OSRAM',
193
193
  extend: extend.switch(),
194
- whiteLabel: [{vendor: 'LEDVANCE', model: 'AB3257001NJ'}],
194
+ whiteLabel: [{vendor: 'LEDVANCE', model: 'AB3257001NJ'}, {vendor: 'LEDVANCE', model: 'AC03360'}],
195
195
  ota: ota.ledvance,
196
196
  configure: async (device, coordinatorEndpoint, logger) => {
197
197
  const endpoint = device.getEndpoint(3);
@@ -7,6 +7,16 @@ const extend = require('../lib/extend');
7
7
  const e = exposes.presets;
8
8
  const ea = exposes.access;
9
9
 
10
+ const tzLocal = {
11
+ lift_duration: {
12
+ key: ['lift_duration'],
13
+ convertSet: async (entity, key, value, meta) => {
14
+ await entity.write(0x0102, {0xe000: {value, type: 0x21}}, {manufacturerCode: 0x105e});
15
+ return {state: {lift_duration: value}};
16
+ },
17
+ },
18
+ };
19
+
10
20
  module.exports = [
11
21
  {
12
22
  zigbeeModel: ['PUCK/SHUTTER/1'],
@@ -14,8 +24,9 @@ module.exports = [
14
24
  vendor: 'Schneider Electric',
15
25
  description: 'Roller shutter module',
16
26
  fromZigbee: [fz.cover_position_tilt],
17
- toZigbee: [tz.cover_position_tilt, tz.cover_state],
18
- exposes: [e.cover_position()],
27
+ toZigbee: [tz.cover_position_tilt, tz.cover_state, tzLocal.lift_duration],
28
+ exposes: [e.cover_position(), exposes.numeric('lift_duration', ea.STATE_SET).withUnit('seconds')
29
+ .withValueMin(0).withValueMax(300).withDescription('Duration of lift')],
19
30
  meta: {coverInverted: true},
20
31
  configure: async (device, coordinatorEndpoint, logger) => {
21
32
  const endpoint = device.getEndpoint(5);
package/devices/tuya.js CHANGED
@@ -611,7 +611,8 @@ module.exports = [
611
611
  model: 'TS0044',
612
612
  vendor: 'TuYa',
613
613
  description: 'Wireless switch with 4 buttons',
614
- whiteLabel: [{vendor: 'Lonsonho', model: 'TS0044'}, {vendor: 'Haozee', model: 'ESW-OZAA-EU'}],
614
+ whiteLabel: [{vendor: 'Lonsonho', model: 'TS0044'}, {vendor: 'Haozee', model: 'ESW-OZAA-EU'},
615
+ {vendor: 'LoraTap', model: 'SS6400ZB'}],
615
616
  fromZigbee: [fz.tuya_on_off_action, fz.battery],
616
617
  exposes: [e.battery(), e.action(['1_single', '1_double', '1_hold', '2_single', '2_double', '2_hold',
617
618
  '3_single', '3_double', '3_hold', '4_single', '4_double', '4_hold'])],
@@ -814,7 +815,7 @@ module.exports = [
814
815
  {modelID: 'TS0601', manufacturerName: '_TZE200_fzo2pocs'},
815
816
  {modelID: 'TS0601', manufacturerName: '_TZE200_5sbebbzs'},
816
817
  {modelID: 'TS0601', manufacturerName: '_TZE200_zuz7f94z'},
817
- {modelID: 'TS0601', manufakturerName: '_TZE200_iossyxra'},
818
+ {modelID: 'TS0601', manufacturerName: '_TZE200_iossyxra'},
818
819
  ],
819
820
  model: 'TS0601_cover',
820
821
  vendor: 'TuYa',
@@ -89,7 +89,7 @@ module.exports = [
89
89
  fromZigbee: [fzLocal.ZMRM02],
90
90
  toZigbee: [],
91
91
  onEvent: tuya.onEventSetTime,
92
- exposes: [e.battery(), e.action([
92
+ exposes: [e.action([
93
93
  'button_1_hold', 'button_1_single', 'button_1_double',
94
94
  'button_2_hold', 'button_2_single', 'button_2_double',
95
95
  'button_3_hold', 'button_3_single', 'button_3_double',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.364",
3
+ "version": "14.0.365",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.364",
3
+ "version": "14.0.365",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [