Add missing icon to ZHA device remove action (#13489)

This commit is contained in:
Franck Nijhof 2022-08-25 17:43:54 +02:00 committed by GitHub
parent a3d80f1280
commit 0038f54cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
import { import {
mdiCogRefresh, mdiCogRefresh,
mdiDelete,
mdiDrawPen, mdiDrawPen,
mdiFamilyTree, mdiFamilyTree,
mdiFileTree, mdiFileTree,
@ -95,6 +96,7 @@ export const getZHADeviceActions = async (
if (!zhaDevice.active_coordinator) { if (!zhaDevice.active_coordinator) {
actions.push({ actions.push({
label: hass.localize("ui.dialogs.zha_device_info.buttons.remove"), label: hass.localize("ui.dialogs.zha_device_info.buttons.remove"),
icon: mdiDelete,
classes: "warning", classes: "warning",
action: async () => { action: async () => {
const confirmed = await showConfirmationDialog(el, { const confirmed = await showConfirmationDialog(el, {