I want to build a dynamic dashboard which has a menu in the first Lovelace section (see picture), where when I press on any of the meu buttons (mushroom-template-card) a different section is made visible. For example, when I press Living Room the a section called Living Room is made visible, when I press Bedroom the Bedroom section is shown, etc.
Currently, I have this working using an input_select.menu helper to show/hide sections, and a script for each menu item, which is then called using the tap_action in the mushroom-tempalte-card
Example:
tap_action:
action: perform-action
perform_action: script.menu_select_living_room
This works, but it’s global . Meaning, if one user of the system select Bedroom, then the dashboard switches to Bedroom for every user that has the home assistant dashboard open
Ideally, I need a session variable for the logged-in user, which I can then use to hide/show sections.
I’ve been searching the web for a solution, without luck.
I am open to any ideas how to achieve this!?