Change a Sensor Icon color - Very confused

Check out this thread. This custom card will allow you to template any card: