mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Only show firmware update warning if no firmware update is in progress (#13068)
This commit is contained in:
parent
f8bccf9e79
commit
399efca411
@ -99,6 +99,13 @@ export const getZwaveDeviceActions = async (
|
||||
),
|
||||
action: async () => {
|
||||
if (
|
||||
isNodeFirmwareUpdateInProgress ||
|
||||
(await fetchZwaveNodeIsFirmwareUpdateInProgress(hass, device.id))
|
||||
) {
|
||||
showZWaveJUpdateFirmwareNodeDialog(el, {
|
||||
device,
|
||||
});
|
||||
} else if (
|
||||
await showConfirmationDialog(el, {
|
||||
text: hass.localize(
|
||||
"ui.panel.config.zwave_js.update_firmware.warning"
|
||||
|
Loading…
x
Reference in New Issue
Block a user