How to change the color of the sensor badges?

hello,
I want to set color of sensors of the same type to a specific color, can it be done ?
I can not use hassIo, because other processes must run on my Raspberry too.

best regards, stef