Can i add an icon from material design to a template sensor?

As the name suggest I want to be able to add an icon from material design to my template sensor, but i got an error. How can i do this?