The “state_color” option can be defined either on a card or a row level.
But this option will not work here in both cases since these entities are of a “sensor” domain, and only some sensor’s device_classes (battery) has a supported icon color functionality.
To OP - suggest you to find out first how to style a row in a normal Entities card (w/o auto-entities).
Hint: card-mod.
Besides, there is a dedicated auto-entities thread, no need to create a new one. And ofc there is a dedicated thread for card-mod as well.