This commit is contained in:
joBr99
2023-11-30 17:48:31 +01:00
parent 3b7c934972
commit c32d2958a6
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ class LovelaceUIPanel:
def get_default_card(self):
defaultCard = self.settings.get("defaultCard")
if defaultCard and "." in defaultCard:
card = self.searchCard(defaultCard.split(".")[0])
card = self.searchCard(defaultCard.split(".")[1])
if card:
return card
return list(self.cards.values())[0]