fix buttons light mode detail page

This commit is contained in:
Johannes
2024-11-20 19:48:37 +01:00
committed by GitHub
parent e33875e9f5
commit 5638720336

View File

@@ -278,6 +278,8 @@ class LovelaceUIPanel:
self.privious_cards.append(self.current_card)
self.current_card = self.searchCard(card_iid)
self.render_current_page(switchPages=True)
case 'mode-light':
ha_control.handle_buttons(entity_id, btype, value, entity_config=entity_config)
case _:
ha_control.handle_buttons(entity_id, btype, value)