Here's a data sheet so you know the pinouts. I'm not sure if it's a PNPN or NPNPSo, I'm not sure why you have no display but these are triac tests and ways to trigger them.
View attachment 174068 View attachment 174069
https://www.electronics-tutorials.ws/power/triac.html
kv
https://www.mouser.com/datasheet/2/389/acst6-954540.pdf
kv