From cfbfd8c3e0ee6850169cfe4c45c093b115ea0d36 Mon Sep 17 00:00:00 2001 From: Johannes <29555657+joBr99@users.noreply.github.com> Date: Sun, 6 Aug 2023 22:34:03 +0200 Subject: [PATCH] Disable detail update for now #945 --- apps/nspanel-lovelace-ui/luibackend/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/controller.py b/apps/nspanel-lovelace-ui/luibackend/controller.py index ab0b78f8..2597c97d 100644 --- a/apps/nspanel-lovelace-ui/luibackend/controller.py +++ b/apps/nspanel-lovelace-ui/luibackend/controller.py @@ -169,8 +169,8 @@ class LuiController(object): self._pages_gen.render_card(self._current_card, send_page_type=False) # send detail page update, just in case if self._current_card.cardType in ["cardGrid", "cardGrid2", "cardEntities", "cardMedia"]: - if entity.startswith("light"): - self._pages_gen.generate_light_detail_page(res_uuid) + #if entity.startswith("light"): + # self._pages_gen.generate_light_detail_page(res_uuid) if entity.startswith("cover"): self._pages_gen.generate_shutter_detail_page(entity) if entity.startswith("fan"):