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!

  • hillbicks@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Nope, that doesn’t sound right.

    I just tried all of your use cases and it works for me every time, HA in the foreground, background, closed; the command changes to the HA app and the right page.

    One thing you should check: Android Settings, Apps, Special app access, Display over other apps, -> make sure home assistant is enabled here. If that doesn’t help I’m out of ideas and suggestions for the moment.