zigbee-herdsman-converters 14.0.438 → 14.0.439

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.
@@ -34,6 +34,18 @@ module.exports = [
34
34
  await reporting.onOff(endpoint);
35
35
  },
36
36
  },
37
+ {
38
+ zigbeeModel: ['tint smart power strip'],
39
+ model: '45391',
40
+ vendor: 'Müller Licht',
41
+ description: 'Smart power strip',
42
+ extend: extend.switch(),
43
+ configure: async (device, coordinatorEndpoint, logger) => {
44
+ const endpoint = device.getEndpoint(1);
45
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
46
+ await reporting.onOff(endpoint);
47
+ },
48
+ },
37
49
  {
38
50
  // Identify through fingerprint as modelID is the same as Airam 4713407
39
51
  fingerprint: [{modelID: 'ZBT-DimmableLight', manufacturerName: 'MLI'}],
package/devices/tuya.js CHANGED
@@ -484,6 +484,7 @@ module.exports = [
484
484
  {modelID: 'TS0601', manufacturerName: '_TZE200_oisqyl4o'},
485
485
  {modelID: 'TS0601', manufacturerName: '_TZ3000_uim07oem'},
486
486
  {modelID: 'TS0601', manufacturerName: '_TZE200_js3mgbjb'},
487
+ {modelID: 'TS0601', manufacturerName: '_TZE200_7deq70b8'},
487
488
  ],
488
489
  model: 'TS0601_switch',
489
490
  vendor: 'TuYa',
@@ -1007,6 +1008,7 @@ module.exports = [
1007
1008
  {modelID: 'TS0601', manufacturerName: '_TZE200_cwnjrr72'},
1008
1009
  {modelID: 'TS0601', manufacturerName: '_TZE200_pvvbommb'},
1009
1010
  {modelID: 'TS0601', manufacturerName: '_TZE200_2atgpdho'}, // HY367
1011
+ {modelID: 'TS0601', manufacturerName: '_TZE200_cpmgn2cf'},
1010
1012
  ],
1011
1013
  model: 'TS0601_thermostat',
1012
1014
  vendor: 'TuYa',
package/devices/weiser.js CHANGED
@@ -33,7 +33,7 @@ module.exports = [
33
33
  await device.endpoints[0].command('closuresDoorLock', 'getPinCode', {userid: data.data.userid}, {});
34
34
  }
35
35
  },
36
- exposes: [e.lock(), e.battery(), e.pincode()],
36
+ exposes: [e.lock(), e.battery(), e.pincode(), e.lock_action(), e.lock_action_source_name(), e.lock_action_source_user()],
37
37
  },
38
38
  {
39
39
  zigbeeModel: ['SMARTCODE_DEADBOLT_10T'],
package/lib/exposes.js CHANGED
@@ -564,6 +564,9 @@ module.exports = {
564
564
  linkquality: () => new Numeric('linkquality', access.STATE).withUnit('lqi').withDescription('Link quality (signal strength)').withValueMin(0).withValueMax(255),
565
565
  local_temperature: () => new Numeric('local_temperature', access.STATE_GET).withUnit('°C').withDescription('Current temperature measured on the device'),
566
566
  lock: () => new Lock().withState('state', 'LOCK', 'UNLOCK', 'State of the lock').withLockState('lock_state', 'Actual state of the lock'),
567
+ lock_action: () => new Enum('action', access.STATE, ['unknown', 'lock', 'unlock', 'lock_failure_invalid_pin_or_id', 'lock_failure_invalid_schedule', 'unlock_failure_invalid_pin_or_id', 'unlock_failure_invalid_schedule', 'one_touch_lock', 'key_lock', 'key_unlock', 'auto_lock', 'schedule_lock', 'schedule_unlock', 'manual_lock', 'manual_unlock', 'non_access_user_operational_event']).withDescription('Triggered action on the lock'),
568
+ lock_action_source_name: () => new Enum('action_source_name', access.STATE, ['keypad', 'rfid', 'manual', 'rf']).withDescription('Source of the triggered action on the lock'),
569
+ lock_action_source_user: () => new Numeric('action_source_user', access.STATE).withDescription('ID of user that triggered the action on the lock'),
567
570
  max_temperature: () => new Numeric('max_temperature', access.STATE_SET).withUnit('°C').withDescription('Maximum temperature').withValueMin(15).withValueMax(35),
568
571
  max_temperature_limit: () => new Numeric('max_temperature_limit', access.STATE_SET).withUnit('°C').withDescription('Maximum temperature limit').withValueMin(0).withValueMax(35),
569
572
  min_temperature: () => new Numeric('min_temperature', access.STATE_SET).withUnit('°C').withDescription('Minimum temperature').withValueMin(1).withValueMax(15),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.438",
3
+ "version": "14.0.439",
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.438",
3
+ "version": "14.0.439",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [