Hi All! I’m very new to home assistant, so forgive me if this is a bit of an obvious answer for someone who knows their way around a bit, but I’m having trouble controlling my tablet’s active dashboard with the “command_webview” notification command.
For reference, I’m using “madface”'s suggestion from this link to handle the screen on/off behavior, and its working great, except for the fact that no matter what I use for the “command_webview” nested command: “/lovelace-flur” in the linked example, I cannot get the companion app to switch to any dashboard other than the default/main dashboard.
I’ve traced the issue to here, which implies a resolution can be found in the definition of “path”, (linked from the documentation for command_webview), but the link is dead as a doornail.
My assumption is that the “path” corresponds to “https://homeassistant.<mydomain>.com/<path>”, but that doesn’t seem to do the trick, and I’m at a loss for other things to try in the absense of a working “path” documentation link.
Hopefully someone here might be able to point me in the right direction? Any help is much appreciated!
I was curious about this so I tested it on my systems. Path refers to the part after your domain. So, if your settings page is available under https://homeassistant.mydomain.com/config/dashboard (check with your desktop or mobile browser to get the exact URL, then you would use “/config/dashboard” as your path setting. Same for any lovelace dashboard, check the URL in your browser, if it is https://homeassistant.mydomain.com/lovelace-mobile/0, then use “/lovelace-mobile/0” as the path argument. lovelace-mobile is the dashboard part, 0 corresponds to the tab.
Hope this helps!