Update state-badge.html
Update state-badge.html

adding a background-color to the icon-image in this element fixes the issue where images and icons overlap but allows a fallback if an image is not defined.  The only situation that this doesn't cover is if an icon is specified and the link is broken (i.e. a 404 on the image), then there will just be a white block. I decided this was actually more useful since then its obvious that there should be an image there.
sdague/home-assistant-polymer,sdague/home-assistant-polymer