Cannot compile Sonoff RF Bridge

Trying to flash ESPhome onto a sonoff rf bridge but I keep getting the below error when trying to compile.

I have tried to compile a few times now and keep getting this error message. Any idea what this could be caused by?

ESPAsyncTCP.cpp:(.text. ZN11AsyncClient9onTimeoutESt8functionIFvPvPS_jEES1 +0x8): multiple definition of `AsyncClient::onTimeout(std::function<void (void*, AsyncClient*, unsigned int)>, void*)’
/data/sonoff_rf/.pioenvs/sonoff_rf/libf28/libESPAsyncTCP_ID305.a(ESPAsyncTCP.cpp.o):ESPAsyncTCP.cpp:(.text. ZN11AsyncClient9onTimeoutESt8functionIFvPvPS_jEES1 +0x8): first defined here
collect2: error: ld returned 1 exit status
*** [/data/sonoff_rf/.pioenvs/sonoff_rf/firmware.elf] Error 1

Any help would be great. Thank you in advance.

I use ESPhome on quite a few sonoff devices but have not been successful in flashing an rf bridge. Each piece of software and hardware has its own use case. So while slamphers, basics, S20’s are all easy to do; IMHO it is better to flash with Tasmota on this device! There are other options but I am not sure that the RF bridge will provide all of the functionality that you would want.

There may of course be more informed souls than myself but the documentation on ESPhome doesn’t specifically show it as an example.

I use it for D1 mini, NodeMCU, Sonoff basic, shelly, etc.

Also I realize that it is the compile that is failing but none the less wanted to offer my penny worth.

You may be a victim of the following issue: