Would create the ability to automatically switch the default dashboard according to any number of triggers and conditions. For example, you could create an automation that switches the default dashboard in your companion app to the dashboard with all your Hi-Fi controls whenever a media player starts playing. Or if you have a room presence detection system, switch to the dashboard for the room the device is in. This feature would cut down on the time taken to switch dashboards manually and would be super handy for testing other automations.
You mean a conditional card.
Yes they can be useful.
My usecase is easier, and I donāt see how browser mod can help with the android app:
Show dashboard A when home, and show dashboard B when not home.
It can switch dashboard displays depending on entity states.
Ok found that it works in the android app, too.
When the app is open ābrowser mod: navigateā can be used to open the right dashboard.
Now I need a trigger like āwhen android app is openedā then run the navigate automation. I donāt think this is possible.
I found a solution, though: In the app settings, new shortcuts to the android home screen can be defined. A lovelace path can be given. So I now have two buttons in my launcher for HA to start the right lovelace dashboard
Can it change dashboards based on the current dashboard?
My scenario is that I have a āHomeā dashboard, which is the default for every tablet throughout the house. But, if a user (at a specific tablet) selects another dashboard and walks away, I want the ability to automatically switch back to the Home dashboard after some interval, say 20 seconds.
(Ideally, if someone selected the media player dashboard and was playing music, then that change wouldnāt happen. Iām sure the same principles apply, just a more sophisticated automation script.)
Can browser_mod detect which dashboard is ācurrentā, then I could use the ā.navigateā option to get back to the default Home (or ignore it, if the Media dashboard is selected)?