Disable trigger id for read only automation (#13976)

This commit is contained in:
Bram Kragten 2022-10-03 19:40:22 +02:00 committed by GitHub
parent ed8b07b7e2
commit 7ededd2766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}
>
</ha-textfield>