From c32d2958a62b8caa0e531b0fc4e5fb88d77020d0 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:48:31 +0100 Subject: [PATCH] . --- nspanel-lovelace-ui/config.yaml | 2 +- nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nspanel-lovelace-ui/config.yaml b/nspanel-lovelace-ui/config.yaml index c529ebe4..149fe781 100644 --- a/nspanel-lovelace-ui/config.yaml +++ b/nspanel-lovelace-ui/config.yaml @@ -1,6 +1,6 @@ # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config name: NSPanel Lovelace UI Addon -version: "4.7.61" +version: "4.7.62" slug: nspanel-lovelace-ui description: NSPanel Lovelace UI Addon services: diff --git a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py index b7bfc9d8..a3ec2cc3 100644 --- a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py +++ b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py @@ -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]