ESPHOME API Encryption not working on certain devices

I have tested the new ESPHome encryption on one Sonoff mini device I have (so esp8285) and failed.
The firmware compiles and uploads, and the device connects to wifi and responds to operation.
API don’t work though. HA recognizes that the device needs a new key but never accepts the value (please check that your config file contains an “api:” line…).

It looks like what’s described here: https://github.com/esphome/issues/issues/2502 but according to what I read it should have been solved (at least in ESPHOME).
Instead, I see it doesn’t work both with command line & HA.

Anyone with the same issue?

That fix was only merged 14 hours ago. Unless you are running the dev version of esphome you won’t have it.

That would explain it. I suppose I’ll have to wait until it reaches mainstream to test again.

Thank you!