Skip to content

Commit

Permalink
Apply code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon committed Dec 6, 2023
1 parent 9e7734c commit 658a59d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/panels/config/automation/ha-automation-trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ export class HaAutomationTrace extends LitElement {

@state() private _logbookEntries?: LogbookEntry[];

@state() private _view:
| "details"
| "config"
| "timeline"
| "logbook"
| "blueprint" = "details";
@state() private _view: (typeof TABS)[number] | "blueprint" = "details";

@query("hat-script-graph") private _graph?: HatScriptGraph;

Expand Down Expand Up @@ -292,7 +287,7 @@ export class HaAutomationTrace extends LitElement {
.renderedNodes=${renderedNodes!}
></ha-trace-path-details>
`
: this._view === "config"
: this._view === "automation_config"
? html`
<ha-trace-config
.hass=${this.hass}
Expand Down

0 comments on commit 658a59d

Please sign in to comment.