mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-07 15:15:48 +01:00
workaround for #1190
This commit is contained in:
@@ -779,6 +779,8 @@ class LuiPagesGen(object):
|
||||
if send_page_type:
|
||||
if card.cardType == "cardGrid" and len(card.entities) > 6:
|
||||
card.cardType = "cardGrid2"
|
||||
if card.cardType == "cardGrid1":
|
||||
card.cardType = "cardGrid"
|
||||
self.page_type(card.cardType)
|
||||
|
||||
# send sleep timeout if there is one configured for the current card
|
||||
|
||||
Reference in New Issue
Block a user