Button + Script + Alternate State Display

Just upgraded to 2024.11.2 / 20241106.2 and also somewhat new to HA, but all of the searches I’ve done yield yaml and other suggestions that no longer seem to work in this version of HA. Even the HA docs seem to disagree with the UI about what yaml fields are valid for a Button Card.

I’ve successfully setup a button card that calls a script that toggles two items of different types (bulb, switch). But I cannot get it to change the button icon visual representation (on/off) based on the state of the bulb (or switch).

This seems like a simple ask. Is there a new(ish) native HA way to accomplish this now?