mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
zwave: fix missing stats on zwavejs
This commit is contained in:
3
plugins/zwave/package-lock.json
generated
3
plugins/zwave/package-lock.json
generated
@@ -7,7 +7,6 @@
|
||||
"": {
|
||||
"name": "@scrypted/zwave",
|
||||
"version": "0.0.51",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache",
|
||||
"dependencies": {
|
||||
"@scrypted/sdk": "file:../../sdk",
|
||||
@@ -24,7 +23,7 @@
|
||||
},
|
||||
"../../sdk": {
|
||||
"name": "@scrypted/sdk",
|
||||
"version": "0.0.199",
|
||||
"version": "0.0.202",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@babel/preset-typescript": "^7.16.7",
|
||||
|
||||
@@ -201,13 +201,6 @@ export class ZwaveDeviceBase extends ScryptedDeviceBase implements Refresh, Sett
|
||||
readonly: true,
|
||||
value: this.statistics ? `${this.statistics.commandsDroppedRX} / ${this.statistics.commandsDroppedTX}` : 'n/a',
|
||||
},
|
||||
{
|
||||
group: 'Statistics',
|
||||
title: 'RTT',
|
||||
key: 'zwave:rtt',
|
||||
readonly: true,
|
||||
value: this.statistics ? `${this.statistics.rtt}ms` : 'n/a',
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user