I’m trying to use the command_webview in the home assistant developer tools > service dev tool. The app starts correctly but only shows the home screen (or the last screen that I opened).
I would like to open a certain view (which exists) using a path as follows:
In your case, I would still need to open the notification and click on it where in my case this is done automatically (so no interaction required with the device).
I’ve read the docs is the companion app also 3 times so I’m not sure what I’m doing wrong.
FWIW I checked the docs to see if we need to update anything to make it more clear but I do see path mentioned and linked to in several places including for the command specifically
Hi @dshokouhi , thanks for that - I think it’s a great idea. In my eyes, path has a different meaning here: the path you provide to the command.
I would not have expected that the path needed to be configured in Lovelace as it was always working fine without (my setup is already 7 years old and I only do the bare minimum upgrades for the moment due to lack of time). I’ll see whether I can open a PR to the docs.
See my issue is that path is a link that takes you to the variable that needs to be set. In some cases it’s best for users to update the docs with their own experiences as it can be difficult for a dev to account for it all lol.
I think it is pretty clear what is required here, the path to the dashboard or view that you want to open in the companion app, and the example removes any doubts (IMHO of course, some users, particularly no native English speakers, may have different experiences or expectations.)