Compare commits

..

1 Commits

Author SHA1 Message Date
Bram Kragten 41d63be1f7 dont disable interaction when row is disabled 2026-08-05 15:50:56 +02:00
3 changed files with 3 additions and 13 deletions
@@ -49,10 +49,7 @@ export default class HaAutomationActionEditor extends LitElement {
<div
class=${classMap({
"card-content": true,
disabled:
!this.indent &&
(this.disabled ||
(this.action.enabled === false && !this.yamlMode)),
disabled: !this.indent && this.disabled,
yaml: yamlMode,
indent: this.indent,
card: !this.inSidebar,
@@ -56,10 +56,7 @@ export default class HaAutomationConditionEditor extends LitElement {
<div
class=${classMap({
"card-content": true,
disabled:
!this.indent &&
(this.disabled ||
(this.condition.enabled === false && !this.yamlMode)),
disabled: !this.indent && this.disabled,
yaml: yamlMode,
indent: this.indent,
card: !this.inSidebar,
@@ -48,11 +48,7 @@ export default class HaAutomationTriggerEditor extends LitElement {
<div
class=${classMap({
"card-content": true,
disabled:
this.disabled ||
("enabled" in this.trigger &&
this.trigger.enabled === false &&
!this.yamlMode),
disabled: this.disabled,
yaml: yamlMode,
card: !this.inSidebar,
})}