Skip to content

Commit 29886c3

Browse files
committed
fix(component): use valid syntax for stub config
1 parent 6609136 commit 29886c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tabbed-card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class TabbedCard extends LitElement {
7272
static getStubConfig() {
7373
return {
7474
options: {},
75-
tabs: [{ label: "Sun", card: { type: "entity", entity: "sun.sun" } }],
75+
tabs: [{ card: { type: "entity", entity: "sun.sun" }, attributes: { label: "Sun" } }],
7676
};
7777
}
7878

0 commit comments

Comments
 (0)