Not exactly. You just need a termplate sensor. Name it something like ‘kitchen_leds’ and then set it to the state of the light. When the light changes state the sensor states. Then in the frontend it just reads the sensor state and displays it.
I think they’re called helpers now? I’m really not sure. I wrote almost 99% of my HA config over 7 years ago and changed very very little. But looking at it its easily doable
Is this what you’re looking for?
EDIT: Once you make the sensor(helper) you just add it to your entity card. It should display the state.