Skip to content

Commit

Permalink
fix(component): use valid syntax for stub config
Browse files Browse the repository at this point in the history
  • Loading branch information
kinghat committed Sep 9, 2023
1 parent 32c0ee3 commit e0eab2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabbed-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class TabbedCard extends LitElement {
static getStubConfig() {
return {
options: {},
tabs: [{ label: "Sun", card: { type: "entity", entity: "sun.sun" } }],
tabs: [{ card: { type: "entity", entity: "sun.sun" }, attributes: { label: "Sun" } }],
};
}

Expand Down

0 comments on commit e0eab2e

Please sign in to comment.