Use a custom configuration panel instead of the sidebar panel: See: https://github.com/home-assistant/core/pull/96245 Implementation example: https://github.com/thomasloven/hass-custom_icons/blob/main/custom_components/custom_icons/frontend.py#L221 