diff --git a/lib/NbAccessory.js b/lib/NbAccessory.js index 1113b28..390b623 100644 --- a/lib/NbAccessory.js +++ b/lib/NbAccessory.js @@ -224,6 +224,7 @@ class Bridge extends homebridgeLib.AccessoryDelegate { const id = device.nukiId.toString(16).toUpperCase() switch (device.deviceType) { case NbClient.DeviceTypes.SMARTLOCK: + case NbClient.DeviceTypes.SMARTLOCK_PRO: if (this.smartLocks[id] == null) { this.addSmartLock(id, { id: id, diff --git a/lib/NbClient.js b/lib/NbClient.js index a99ccda..d754959 100644 --- a/lib/NbClient.js +++ b/lib/NbClient.js @@ -10,7 +10,7 @@ const homebridgeLib = require('homebridge-lib') class NbClient extends homebridgeLib.HttpClient { static get DeviceTypes () { - return { SMARTLOCK: 0, OPENER: 2 } + return { SMARTLOCK: 0, OPENER: 2, SMARTLOCK_PRO: 4 } } static get LockStates () {