Sitemap icon does not respect transformed state of item

…Ok, figured it out.

  1. You can’t reuse the name of an existing icon in the base installation. In my case i was trying to ‘extend’ the wallswitch icon with additional states and this doesn’t work. I went with wallswitch_contact-open and wallswitch_contact-closed instead.
  2. You must have a default icon. i.e. without a state. So I added wallswitch_contact.svg

Gotcha 2 is in the docs but I don’t think gotcha 1 is there. It was this post that pointed me in the right direction [SOLVED] Custom Icons

1 Like