How can I change the font/font size for the units?

Welcome to the forum. A couple of points…

Please post your code using the community standards. See #11, but please read the other points as well.

There is large thread for custom:button-card here

This is controlling the font size of the state

image

reduce it to something like - font-size: 20px