Update controller.py

This commit is contained in:
Johannes
2023-08-23 18:47:45 +02:00
committed by GitHub
parent 11106eb778
commit 847546893f

View File

@@ -173,8 +173,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"):