Sonoff basic r2 v1.0 and v.1.3 template


I wanted to ask you for help with the template for Sonoff basic r2 that I have, since they are v1.0 and v1.3, all the templates that I got on the esphome website were for basic r1 or v1.4, so my sonoff basic r2 They do not work correctly (in v1.0 it does not show the red LED for example)

thanks advanced!