Code for entity status lights on Lilygo T-S3

Hello dear people from the internet

I’ve just managed to install a Lilygo T display S3 inside HA.
It currently shows date and time.
What I want to have is three buttons next to each other on the display, showing the status of specific entities → light, windows and mailbox.
It is supposed to be my “last chance check” right before leaving the house.
Can anyone point me to a website where I can find such (or similar) code?