Toggle feature different styles on tile cards

I am creating a dashboard and have added two tile cards with different switch entities and the toggle feature is a different style for each one:

Both entities are domain ‘switch’, but one is created by the Unifi integration and the other is a template. The card config is identical for these except for the entity (I duplicated the wifi one for this screenshot) How can I get these to match?

The right one is so called “optimistic switch” which does not reflect a real state of toggled entity; it believes in “if I toggled - then the entity is toggled”.

Interesting. I wonder why those are different styles.

Regardless, is there a way I can set the state to be itself? It’s a template switch because there are some actions that it performs (although I suppose I could replace it with an input_boolean and an automation, which is probably the correct answer now that I think about it)

Edit: I tried setting it to the state of itself but it just got stuck on unknown

Edit2: I replaced the template switch with an input_boolean and an automation.

A difference between 2 looks is simple.
Left - two mutually exclusive states, may be considered as “one which can be ON or OFF”.
Right - can be “OFF, ON”, “ON, OFF”, “OFF, OFF” (similar to “we do not know for sure what state”).

That makes sense. I tested by setting them each to unknown and the switch handled it fine, while the input_boolean just became entirely unavailable. (it completely broke too and I had to restart HA to get it back - so don’t do that lol)