Help config sonoff POWR320D that works on tasmota but not in ESPhome

Hi Simon,

Yes, I’ve finally found the problem. It’s on the code “lambda” without this code all is working correctly.
Look at this post:

Regards