Fix incorrect (Disabled) string in trigger (#27935)

This commit is contained in:
karwosts 2025-11-13 06:36:05 -08:00 committed by GitHub
parent 97e49f751c
commit 09bdfd3ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,8 +63,7 @@ export default class HaAutomationSidebarTrigger extends LitElement {
protected render() {
const rowDisabled =
this.disabled ||
("enabled" in this.config.config && this.config.config.enabled === false);
"enabled" in this.config.config && this.config.config.enabled === false;
const type = isTriggerList(this.config.config)
? "list"
: this.config.config.trigger;