mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 05:46:35 +00:00
Add if node is secure to zwave js device page (#10135)
This commit is contained in:
parent
8a4097a366
commit
ec7c6ab96c
@ -83,6 +83,7 @@ export interface ZWaveJSNodeStatus {
|
|||||||
node_id: number;
|
node_id: number;
|
||||||
ready: boolean;
|
ready: boolean;
|
||||||
status: number;
|
status: number;
|
||||||
|
is_secure: boolean | string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ZwaveJSNodeMetadata {
|
export interface ZwaveJSNodeMetadata {
|
||||||
|
@ -116,6 +116,14 @@ export class HaDeviceInfoZWaveJS extends LitElement {
|
|||||||
? this.hass.localize("ui.common.yes")
|
? this.hass.localize("ui.common.yes")
|
||||||
: this.hass.localize("ui.common.no")}
|
: this.hass.localize("ui.common.no")}
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
${this.hass.localize("ui.panel.config.zwave_js.device_info.is_secure")}:
|
||||||
|
${this._node.is_secure === true
|
||||||
|
? this.hass.localize("ui.common.yes")
|
||||||
|
: this._node.is_secure === false
|
||||||
|
? this.hass.localize("ui.common.no")
|
||||||
|
: this.hass.localize("ui.panel.config.zwave_js.device_info.unknown")}
|
||||||
|
</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2761,7 +2761,9 @@
|
|||||||
"device_config": "Configure Device",
|
"device_config": "Configure Device",
|
||||||
"reinterview_device": "Re-interview Device",
|
"reinterview_device": "Re-interview Device",
|
||||||
"heal_node": "Heal Device",
|
"heal_node": "Heal Device",
|
||||||
"remove_failed": "Remove Failed Device"
|
"remove_failed": "Remove Failed Device",
|
||||||
|
"is_secure": "Secure",
|
||||||
|
"unknown": "Unknown"
|
||||||
},
|
},
|
||||||
"node_config": {
|
"node_config": {
|
||||||
"header": "Z-Wave Device Configuration",
|
"header": "Z-Wave Device Configuration",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user