Skip to content

Commit 6068c32

Browse files
authored
Pass narrow through parallel/sequence automation actions (#26386)
1 parent 3889332 commit 6068c32

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/panels/config/automation/action/types/ha-automation-action-parallel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export class HaParallelAction extends LitElement implements ActionElement {
1515

1616
@property({ type: Boolean }) public disabled = false;
1717

18+
@property({ type: Boolean }) public narrow = false;
19+
1820
@property({ attribute: false }) public action!: ParallelAction;
1921

2022
public static get defaultConfig(): ParallelAction {
@@ -29,6 +31,7 @@ export class HaParallelAction extends LitElement implements ActionElement {
2931
return html`
3032
<ha-automation-action
3133
.actions=${action.parallel}
34+
.narrow=${this.narrow}
3235
.disabled=${this.disabled}
3336
@value-changed=${this._actionsChanged}
3437
.hass=${this.hass}

src/panels/config/automation/action/types/ha-automation-action-sequence.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export class HaSequenceAction extends LitElement implements ActionElement {
1515

1616
@property({ type: Boolean }) public disabled = false;
1717

18+
@property({ type: Boolean }) public narrow = false;
19+
1820
@property({ attribute: false }) public action!: SequenceAction;
1921

2022
public static get defaultConfig(): SequenceAction {
@@ -29,6 +31,7 @@ export class HaSequenceAction extends LitElement implements ActionElement {
2931
return html`
3032
<ha-automation-action
3133
.actions=${action.sequence}
34+
.narrow=${this.narrow}
3235
.disabled=${this.disabled}
3336
@value-changed=${this._actionsChanged}
3437
.hass=${this.hass}

0 commit comments

Comments
 (0)