Use svg natively in HomeAssisant?

There are MDI icons which are either not yet available on HA, or are deleted/superseded on the MDI platform, but already/still available as .svg file.

We can use these, and set them as entity_picture but that results in this:

50

Is there another technique available to use these svg icons, which after all should be the same as the MDI icons HA imports, in our frontends? Or can we set these svg icons in the icon field of the device_tracker? Ive tried obviously and config check is green, but at startup errors out in the device_tracker ping.

You can choose a local file as an icon. If the svg doesn’t work, convert it to a png.

are you talking icon, or entity_picture?
Don’t think anything else beyond the mdi:icons are available in HA as native icons, that get their color set based on state, and are templatable via templates: icon and icon_color.

You are right, I was thinking of entity-picture

I was getting around it by having different entity pictures for on and off and I think using a binary switch to set the icon according to the state… however there’s no ‘native’ way to do that.