Update ZWaveJSNodeStatus interface and firmware logic (#15338)

This commit is contained in:
Raman Gupta 2023-02-20 14:32:31 -05:00 committed by GitHub
parent dfbe32018a
commit 404199bb19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -176,6 +176,7 @@ export interface ZWaveJSNodeStatus {
zwave_plus_version: number | null;
highest_security_class: SecurityClass | null;
is_controller_node: boolean;
has_firmware_update_cc: boolean;
}
export interface ZwaveJSNodeMetadata {

View File

@ -95,7 +95,7 @@ export const getZwaveDeviceActions = async (
},
];
if (!nodeStatus.ready) {
if (!nodeStatus.ready || !nodeStatus.has_firmware_update_cc) {
return actions;
}