Sidebar icon for addons

  1. I’m trying to develop an addon
  2. I can specify ingress: true for it to show up as an entry in the HA sidebar
  3. How I can specify the sidebar icon to use? The docs doesn’t seem to explain it

I have exactly the same question.

The default puzzle piece icon is really unpretty:
grafik

logo.png and icon.png have no impact on the sidebar (which apparently uses svg).

Where do I have put the svg or configure it so HA picks it up and uses it in the sidebar?

I found out that it is the panel_icon entry in config.json/yaml and the value should be a mdi: icon. Not sure about custom icons yet.

    "panel_icon": "mdi:standard-ha-icons",
1 Like

Thank you!

Works perfectly! :slight_smile: