That’s because the receiver/sender board you have has a chip on it and probably includes some sort of logic. What you want for your esp is a “dumb” version and have a logic done on the esp
The module you use is the one nobody should use because of it’s insane noise levels.
IMPORTANT NOTE about the well-known cheap Chinese set:
From the set below the transmitter (XD-FST FS1000A) is fine.
The receiver is not working very well. In most cases it receives too much noise to give stable results.
as written here: RFLink Gateway - HomeAutomation
You will also find good receiver boards on the same link or in this thread: ESPHome and 433mhz superheterodyne RF receiver - #16 by orange-assistant