mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Update ZWaveJSNodeStatus interface and firmware logic (#15338)
This commit is contained in:
parent
dfbe32018a
commit
404199bb19
@ -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 {
|
||||
|
@ -95,7 +95,7 @@ export const getZwaveDeviceActions = async (
|
||||
},
|
||||
];
|
||||
|
||||
if (!nodeStatus.ready) {
|
||||
if (!nodeStatus.ready || !nodeStatus.has_firmware_update_cc) {
|
||||
return actions;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user