From 7ededd27664cd3f743117bef14ac899a5e486e4d Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 3 Oct 2022 19:40:22 +0200 Subject: [PATCH] Disable trigger id for read only automation (#13976) --- .../config/automation/trigger/ha-automation-trigger-row.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts index d20053d184..9ac8ad7f9d 100644 --- a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts +++ b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts @@ -291,6 +291,7 @@ export default class HaAutomationTriggerRow extends LitElement { "ui.panel.config.automation.editor.triggers.id" )} .value=${this.trigger.id || ""} + .disabled=${this.disabled} @change=${this._idChanged} >