From e9859c0d32815ce203ad2ecd99831c6a469b0267 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:20:12 +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 ed89d044..9d88d040 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.56" +version: "4.7.57" 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 e0fcdf0b..dfea84f4 100644 --- a/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py +++ b/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/panel.py @@ -252,7 +252,7 @@ class LovelaceUIPanel: card_iid = entity_id.split(".")[1] if card_iid == "UP": if len(self.privious_cards) == 0: - self.privious_cards.append(self.get_default_card) + self.privious_cards.append(self.get_default_card()) self.current_card = self.privious_cards.pop() self.render_current_page(switchPages=True) else: