Custom Button Card issue

I have a issue using the custom button card, I was able to get the icon to change colors with various States as I wanted but now as you can see in the picture the Text just grabs the Entire description of the entity and dumps it in the State section of the card how do I get it just to list the current state it is in
Thanks

Please use the code tool to paste your code into the thread. It’s almost impossible to see on a phone as a screenshot

Never mind I figured it out