What is the URL/Path of the energy dashboard?


I want to create a button to link to the energy dashboard in HomeAssistant. So when I click the card button it should open the Energy dashboard page in HomeAssistant.

What path shall I give up? The /lovelace/energy URL won’t work…
I tried it like this:

          - type: custom:button-card
            name: >
              <ha-icon icon="mdi:chart-line-variant"></ha-icon> Verbruik
            tap_action: navigate
            navigation_path: '/energy'
            template: footer

and by making a script and setting to run that script as tap_action also didn’t work

  alias: Navigeer naar Energiedashboard
  - service: browser_mod.navigate
      path: /energy
  mode: single
  icon: mdi:lightning-bolt-circle

Anybody who knows if it’s possible?

Try using:

type: custom:button-card
name: button
  action: navigate
  navigation_path: /energy
template: footer

Thank you! Its working!

can you navigate back from the energy view to the main dashboard?