mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 19:06:58 +01:00
add popup page for input_select
This commit is contained in:
@@ -169,6 +169,8 @@ class LuiController(object):
|
||||
self._pages_gen.generate_shutter_detail_page(entity)
|
||||
if entity.startswith("fan"):
|
||||
self._pages_gen.generate_fan_detail_page(entity)
|
||||
if entity.startswith("input_select"):
|
||||
self._pages_gen.generate_input_select_detail_page(entity)
|
||||
if self._current_card.cardType == "cardThermo":
|
||||
if entity.startswith("climate"):
|
||||
self._pages_gen.generate_thermo_detail_page(entity)
|
||||
@@ -183,6 +185,8 @@ class LuiController(object):
|
||||
self._pages_gen.generate_fan_detail_page(entity_id)
|
||||
if detail_type == "popupThermo":
|
||||
self._pages_gen.generate_thermo_detail_page(entity_id)
|
||||
if detail_type == "popupInSel":
|
||||
self._pages_gen.generate_input_select_detail_page(entity_id)
|
||||
|
||||
def button_press(self, entity_id, button_type, value):
|
||||
apis.ha_api.log(f"Button Press Event; entity_id: {entity_id}; button_type: {button_type}; value: {value} ")
|
||||
|
||||
Reference in New Issue
Block a user