diff --git a/src/panels/config/devices/device-detail/integration-elements/zha/device-actions.ts b/src/panels/config/devices/device-detail/integration-elements/zha/device-actions.ts index 907393e7c1..3403492ef9 100644 --- a/src/panels/config/devices/device-detail/integration-elements/zha/device-actions.ts +++ b/src/panels/config/devices/device-detail/integration-elements/zha/device-actions.ts @@ -83,9 +83,15 @@ export const getZHADeviceActions = async ( classes: "warning", action: async () => { const confirmed = await showConfirmationDialog(el, { - text: hass.localize( - "ui.dialogs.zha_device_info.confirmations.remove" + title: hass.localize( + "ui.dialogs.zha_device_info.confirmations.remove_title" ), + text: hass.localize( + "ui.dialogs.zha_device_info.confirmations.remove_text" + ), + confirmText: hass.localize("ui.common.remove"), + dismissText: hass.localize("ui.common.cancel"), + destructive: true, }); if (!confirmed) { diff --git a/src/translations/en.json b/src/translations/en.json index 029a4cffc8..51a9d69aed 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1635,7 +1635,8 @@ "zigbee_information": "View the Zigbee information for the device." }, "confirmations": { - "remove": "Are you sure that you want to remove the device?" + "remove_title": "Remove device", + "remove_text": "This device will be permanently removed from the Zigbee network." }, "quirk": "Quirk", "last_seen": "Last seen",