I am unable to setup a shortcut to open a dashboard view. I have 2 sites, both running through nabu casa. I want to be able to quickly access the main dashboard for each site from the home page of Android. On iOS there is a widget already setup for this. On Android I’m struggling. I have the shortcut pointing to lovelace/default_view and have also tried lovelace/dashboardname/viewname but every time the shortcut just opens the standard HA dashboard even though this is not set as default on the device. Everything has been straightforward on HA but this seems unnecessarily complex? Any help greatly appreciated.
sometimes a single character can come a long way
use /lovelace/...
leading forward slash was missing.
see some examples from the docs: https://companion.home-assistant.io/docs/integrations/android-shortcuts
Also see my post here: Shortcut to specific dashboard
The docs Android Shortcuts are a little misleading here incomplete. I also tried the two formats, but nothing worked.
Then I used the browser to see the url of my dashboards. For the dashboard I created myself, the following worked.
Name of the dashboard e.g.: Mushroom
Expression used in the Android shortcut setting “/dashboard-mushroom/0”
not quite misleading but incomplete, they should mention to use the relative URL to be explicit (which the examples depicted are and which you have also followed down below)
if your up for it you can click on the “Edit” link at the bottom of that page and submit an update to make the second paragraph more clear