Ability to completely disable local media in media_source integration

Since my Home Assistant hardware does not offer any local media, I have disabled the local media directories using the following configuration:

homeassistant:
    media_dirs: {}

However, this does not prevent the “Local Media” section from appearing in the Media Sources gallery (the section is empty, as expected):
image

I would like for some way to completely disable the “Local Media” section so that it does not appear in the gallery.

Looking for the same. Want to disable media sources and keep only for admin users.

1 Like