Skip to content

Commit

Permalink
Update controller.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joBr99 committed Aug 23, 2023
1 parent 11106eb commit 8475468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/nspanel-lovelace-ui/luibackend/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def state_change_callback(self, entity, attribute, old, new, kwargs):
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"):
Expand Down

0 comments on commit 8475468

Please sign in to comment.