Old sonoff switch depraced replace with esphome

Hello, before the upgrade i use this sonoff switch to control my garage door opener. With the new version 115 of home assistant, this switch doesn’t work. I would install on it esphome .

Some one have the code or the name of this module to try to install esphome on it ?
Thanks

Thomas

Model: PSF-B01

There’s some information here: