ESPHome AP provisioning + fast_connect?

From what I understand it is not possible to use AP provisioning (no SSID/PW specified) and also use fast_connect, or is there a workaround?

I am making a device that will sleep most of the time, on battery, thus I want fast_connect.
However, I want it to ship with ESPHome code and no specified SSID/PW.

If I dont specify SSID/PW, there will be an error when enabling fast_connect.

Once the SSID/PW provisioning is done, why would it not be possible to use fast_connect?

Anyone know of a workaround?

I know I can set a random SSID/PW in the code, then wait for it to timeout and enter AP, but I would like it to go to AP at once, also if a factory reset is done.

Also looking for the best way to prevent sleep during provisioning/setup. I currently have a timeout of 30sec, if it awakes and does not connect it will go back to sleep. But 30sec, even 60sec is a bit short for the setup procedure.

I already have a “prevent sleep” function, but I have not figured out how to trigger it for the setup procedure. Basically “if AP, then”

Try asking on the ESPHome Discord channel. The devs lurk there.