Skip to content

Commit e005a9c

Browse files
authored
Always return an object in grid options (#216)
1 parent 1f3923d commit e005a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/timer-bar-card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ mushroom??{}} style=${mushroomStyle(config.mushroom??{})} .hass=${this.hass}></t
208208
/** Taken from lovelace-mushroom */
209209
public getGridOptions() {
210210
if (!('mushroom' in this.config)) {
211-
return undefined
211+
return {};
212212
}
213213
if (!this.config.mushroom) {
214214
return {

0 commit comments

Comments
 (0)