Override Device Class but want to put a boolean class on a sensor?

So all of my ELK M1 zones show up in HA as sensors not binary. I want to apply different device classes to the different zones (i.e. window, door, motion, etc) however those are all binary classes and not sensor classes.
Is the only way to accomplish this is to create device templates for EVERY sensor? That ends up being 50+ sensors. Is there a “smart” way to do this to avoid cut-n-pasting so many templates?