Retractive Switch

I’m looking for a smart system that will work with retractive switches.
Any suggestions ?

Any esphome gear configured to react on the leading edge signal

I’ve been an electrician for over 40 years and I’ve never heard of that type of switch being called that. I just know them as a spring return switch.

thanks for that bit of education.