zwave: fix missing stats on zwavejs

This commit is contained in:
Koushik Dutta
2022-08-06 22:23:26 -07:00
parent e0768db5bc
commit aa2bdd4d90
2 changed files with 1 additions and 9 deletions

View File

@@ -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",

View File

@@ -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',
}
];
}