workaround for #1190

This commit is contained in:
Johannes
2024-02-25 11:49:25 +01:00
committed by GitHub
parent a0e574391b
commit 5e1a7f2102

View File

@@ -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