mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
zwave: publish
This commit is contained in:
979
plugins/zwave/package-lock.json
generated
979
plugins/zwave/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/zwave",
|
||||
"version": "0.0.56",
|
||||
"version": "0.1.1",
|
||||
"description": "Z-Wave USB Controller for Scrypted",
|
||||
"author": "Scrypted",
|
||||
"license": "Apache",
|
||||
@@ -37,9 +37,9 @@
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.7.1"
|
||||
"@types/node": "^18.15.11"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"zwave-js": "^10.3.0"
|
||||
"zwave-js": "^10.14.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -341,6 +341,9 @@ export class ZwaveControllerProvider extends ScryptedDeviceBase implements Devic
|
||||
return this.devices[nativeId];
|
||||
}
|
||||
|
||||
async releaseDevice(id: string, nativeId: string): Promise<void> {
|
||||
}
|
||||
|
||||
_addType(scryptedDevice: ZwaveDeviceBase, instance: Endpoint, type: CommandClassInfo, valueId: ValueID) {
|
||||
var interfaces = type.getInterfaces(instance.getNodeUnsafe(), valueId);
|
||||
if (!interfaces) {
|
||||
|
||||
Reference in New Issue
Block a user