…Ok, figured it out.
- 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 withwallswitch_contact-open
andwallswitch_contact-closed
instead. - 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