How do I customize the lovelace sensor card?

I assume it should be fairly simple. I have found what I believe to be the file I need to modify (hui-sensor-card.ts)
I just can’t figure out where to put my modified version of it, in order for it to be loaded.
Or if there is indeed more to it than modifying that particular file.
Would love a pointer in the right direction :slight_smile: