Navigate back in subviews

Hi Team

Need a hint - how to create a ‘navigate-back’ button to place in a subview, so it goes back to the dashboard from where the subview where launched. Can see there is a lot of discussion on this, but have not been able to make it work… guess this feature must be here… The arrow in the top left works, but would like to have a larger button.

So, what to do ?

/Jørn

It’s just a web page. You may be able to do this with a button:

button:
  - name: "Main Page"
    tap_action:
      action: url
      url_path: "http://homeassistant.local:8123/lovelace-hasp/home"

The action might be:

     tap_action:
        action: navigate
        navigation_path: /lovelace-hasp/sprinklers

Let us know if this works.

Yes - it can see that, if you have a subpage that is just called from one place. But if the same subpage can be called from different dashboards, then I would need to get back to the one that called the sub page. Just like the ‘arrow’ in the top line…

/Jørn

I think you are looking for breadcrumbs. I am not aware if the previous page URL is available to the UI. I have this on my home page and each button opens a different view.

pages

A subview’s header already has this “back” button (“<“), why do you need one more?

Ahhhh, it is probably because a long infinite issue “Back button does not work”.

Yes agree… already have the back button in the top line.

But would like to make one in the view that is larger and might be more intuitivt for the users…

I see, and - as I wrote above - the “Back” button is not working properly: if user opens more-info, more taps on that button are needed.