How to show state of GPIO

Hi,

I am using this device: https://templates.blakadder.com/lilygo_T-Relay.html

I have GPIO4 and GPIO12 configured as switches to show the status of a switch:
MQT: stat/citySprinklerValve/RESULT = {"GPIO2":{"0":"None"},"GPIO4":{"7744":"Switch_d1"},"GPIO12":{"7745":"Switch_d2"}

I also see this in the console:
MQT: stat/citySprinklerValve/STATUS10 = {"StatusSNS":{"Time":"2022-07-18T10:25:02","Switch1":"ON","Switch2":"OFF","ESP32":{"Temperature":43.3},"TempUnit":"C"}}

How do I show the status of 7744 and 7745 in a Dashboard?