How can I hide the Energy/Media/Map tabs from the sidebar?

Hi,

An ‘Energy’ tab (and also Media & Map) appeared in my sidebar, but I’m really not interested in that, how can I hide them?

I tried by using the ‘regular’ way through ‘Configuration/Dashboards’, but when I click on ‘Energy’, it’s not the same behavior than other dashboards, and I don’t have the popup with the ‘Show in sidebar’ toggle. + the Map & Media tabs don’t appear in dashboards.

I did a quick search on internet, and someone suggested to put either default_config: in my configuration.yaml (or energy:), so now I have this in my configuration.yaml:

default_config:
energy:
media_source:

but it doesn’t change anything.

Thanks for your help.

PS: I’m using the web interface (not the HA apple/android app!)

1 Like

this may help:

If you do not mind doing it on each client computer then simply mouse click and hold the “Home Assistant” title over the left bar for a few seconds. That changes the mode so you can move or hide items in the left bar. There are a few limitations but most can be hidden

23 Likes

Or just click and hold the header of the sidebar (the button that expands it) to enter edit mode and remove the tabs from view.

Too slow :slight_smile:

3 Likes

:upside_down_face:

thanks! they definitely should put some small edit icon there :sweat_smile:

you can’t have both default config and energy.

You either implement every integration you want that default_config delivers (by adding them individually), or use default_config and get them all.

If you go to the default_config documents page, and copy/paste every integration you want to use and omit energy:, map:, and media_source:, then those tabs will not show up (and it won’t load them into your system).

2 Likes

oh, thanks. This would be even cleaner :star_struck:

Not having the integration in the config or no default_config also means the entire integration is not there.

I use the map function but I have the map in a card on one of my tabs in the UI. But I do not want it in the left bar. So in these cases - the long click and hide is the way to go.

FYI here’s the list you can just copy/paste:

automation:
backup:
cloud:
config:
counter:
dhcp:
# energy:
frontend:
history:
image:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:
logbook:
# map:
# media_source:
mobile_app:
my:
person:
scene:
script:
ssdp:
stream:
sun:
system_health:
tag:
timer:
usb:
webhook:
zeroconf:
zone:
5 Likes

Great tip! Thanks.

Why the missing bluetooth:, hardware:, homeassistant_alerts:?

Because those are new and the post is not?

Are you asking me? I just start using HA last week, I wouldn’t know if those are new or not.
My doubt was if the missing modules depended in any way on the disabled modules.

My response was a rhetorical question. They are new integrations and the post you replied to was made before they existed. That’s why they aren’t included in that lists post.

1 Like

for anyone doing this under a reasonable vanilla Home Assistant 2023.1.2 Frontend 20230104.0 - latest

i had to REM image: as well but works a treat to remove the items FOR ALL

So, the solution to remove a few unwanted sidebar selections is: ?

  1. Install HACS (not officially supported – kiosk-mode).

  2. Modify configuration.yaml and everyone will happily support any mistakes… And, new additions to the default_config will still be added after editing it properly?

I humbly respect that there’s a better solution at this time – Google led me here. :rofl:

MrGrey.

No… Where’d you get this idea?

Not sure what you mean.

All you have to do is edit configuration.yaml. Add every integration listed in default_config like this in configuration.yaml:

e.g. adding energy…

energy:
1 Like

Apologies… Reading too many threads opened in multiple browsers/tabs and with too much cough syrup on board.

It’s hard to figure all this stuff out (properly).

I might do that after finding corroborating information.

Thank you.

MrGrey.

What about if you would like to do this on a per user basis e.g. show map for some users but not others?

Why does the Energy item reappear every time there is a new release of HA??? I don’t want it on my sidebar and have to disable it every time a new release comes out.