Adding "internal" pages (i.e. HA Logs) to the sidebar - is it possible?

I’ve been messing around with the functionality to manage items on the sidebar. In doing so, I was hoping I could add any internal HA page to the sidebar - like the Logs page within Configuration (http://hassurl:8123/config/logs). I’ve tried a few iterations of a panel_iframe and it “works” and it browses to /config/logs, but it opens HA in the iframe with another sidebar. Config and screenshot below.

Anybody have any luck with this or doing something similar? Is it possible?

panel_iframe:
  router:
    title: 'Logs'
    icon: mdi:math-log
    url: '/config/logs'

1 Like

Hey @djmcp, have you found your answer? Looking to do the same in order to quickly access all my zigbee devices.

So the answer is here.

Works perfectly. :sunglasses:

It’s a lot easier to add internal shortcuts with this:

EDIT: this is no longer maintained, so not recommended.

Rearrange Sidebar

You can use Custom Panel.

Examples:

panel_custom:
  - name: config/automation
    sidebar_title: Automations
    sidebar_icon: mdi:home-automation
    module_url: any text
  - name: config/server_control
    sidebar_title: Server Controls
    sidebar_icon: mdi:server
    module_url: any text

The same way you can override addon items (you should turn off “Show in sidebar” in addon settings):

  - name: hassio/ingress/core_configurator
    sidebar_title: File Editor
    sidebar_icon: mdi:code-braces-box
    module_url: any text
  - name: hassio/ingress/core_ssh
    sidebar_title: SSH
    sidebar_icon: mdi:console
    module_url: any text
2 Likes

I am trying to show the logs in the sidebar so I added this:

  - name: config/logs
    sidebar_title: Logs
    sidebar_icon: mdi:server
    module_url: any text

but I still don’t see it. I have properly enabled the custom_panel component and see no errors in the logs. Do I need to add something in the module_url area?

Here is my full list (in configuration.yaml) and it all work:

panel_custom:
  - name: config/automation
    sidebar_title: Automations
    sidebar_icon: mdi:home-automation
    module_url: any text
    
  - name: config/script/dashboard
    sidebar_title: Scripts
    sidebar_icon: mdi:script-text-play
    module_url: any text
    
  - name: config/integrations
    sidebar_title: Integrations
    sidebar_icon: mdi:puzzle
    module_url: any text
    
  - name: config/entities
    sidebar_title: Entities
    sidebar_icon: mdi:shape
    module_url: any text
    
  - name: config/helpers
    sidebar_title: Helpers
    sidebar_icon: mdi:variable
    module_url: any text
    
  - name: config/server_control
    sidebar_title: Server Controls
    sidebar_icon: mdi:server
    module_url: any text
    
  - name: config/logs
    sidebar_title: Logs
    sidebar_icon: mdi:math-log
    module_url: any text
1 Like

Error on my part. Solved and works. Thank you.