mirror of
https://github.com/koush/scrypted.git
synced 2026-03-20 16:40:24 +00:00
zwave: fix startup crash
This commit is contained in:
2
plugins/zwave/.vscode/settings.json
vendored
2
plugins/zwave/.vscode/settings.json
vendored
@@ -1,4 +1,4 @@
|
||||
|
||||
{
|
||||
"scrypted.debugHost": "koushik-mac",
|
||||
"scrypted.debugHost": "127.0.0.1",
|
||||
}
|
||||
4
plugins/zwave/package-lock.json
generated
4
plugins/zwave/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/zwave",
|
||||
"version": "0.0.54",
|
||||
"version": "0.0.55",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/zwave",
|
||||
"version": "0.0.54",
|
||||
"version": "0.0.55",
|
||||
"license": "Apache",
|
||||
"dependencies": {
|
||||
"@scrypted/sdk": "file:../../sdk",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/zwave",
|
||||
"version": "0.0.54",
|
||||
"version": "0.0.55",
|
||||
"description": "Z-Wave USB Controller for Scrypted",
|
||||
"author": "Scrypted",
|
||||
"license": "Apache",
|
||||
|
||||
@@ -176,7 +176,7 @@ export class ZwaveControllerProvider extends ScryptedDeviceBase implements Devic
|
||||
title: 'Inclusion State',
|
||||
key: 'inclusionState',
|
||||
readonly: true,
|
||||
value: InclusionState[this.controller.inclusionState],
|
||||
value: InclusionState[this.controller?.inclusionState],
|
||||
},
|
||||
{
|
||||
group: 'Inclusion',
|
||||
@@ -203,7 +203,7 @@ export class ZwaveControllerProvider extends ScryptedDeviceBase implements Devic
|
||||
title: 'Healing State',
|
||||
key: 'healingState',
|
||||
readonly: true,
|
||||
value: this.controller.isHealNetworkActive ? 'Healing' : 'Not Healing',
|
||||
value: this.controller?.isHealNetworkActive ? 'Healing' : 'Not Healing',
|
||||
},
|
||||
{
|
||||
group: 'Network',
|
||||
|
||||
Reference in New Issue
Block a user