From 2c604ff9461ee94f5a46c9ae3e66dbeab552225c Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:55:12 +0100 Subject: [PATCH] Add red delete button to delete zone confirmation dialog (#23136) --- src/panels/config/zone/ha-config-zone.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/zone/ha-config-zone.ts b/src/panels/config/zone/ha-config-zone.ts index f7d27793a9..bbdbf8e80e 100644 --- a/src/panels/config/zone/ha-config-zone.ts +++ b/src/panels/config/zone/ha-config-zone.ts @@ -509,6 +509,7 @@ export class HaConfigZone extends SubscribeMixin(LitElement) { title: this.hass!.localize("ui.panel.config.zone.confirm_delete"), dismissText: this.hass!.localize("ui.common.cancel"), confirmText: this.hass!.localize("ui.common.delete"), + destructive: true, })) ) { return false;