I use the Sonoff RF bridge (flashed with Tasmota firmware). This integrates very well with HA Tasmota addon. It basically sends a MQTT message when RF data is received.
Setup a general MQTT template sensor for the received data and use the state change of that sensor (to the value of the button) as the trigger for any automation you want.
e.g.:
platform: mqtt
name: “RF_data”
state_topic: “sonoffrf/tele/RESULT”
value_template: “{{value_json.RfReceived.Data}}”
expire_after: 5
qos: 1
You can just catch the 433MHz RF signal of the doorbell button (when pressed) in the Tasmota web UI Console section (for the Sonoff RF bridge). When then pressing the button, you will find the correct data value in the log shown on the console page.
e.g.:
MQT: sonoffrf/tele/RESULT = {“Time”:“2021-11-13T13:52:38”,“RfReceived”:{“Sync”:12950,“Low”:400,“High”:1250,“Data”:“313031”,“RfKey”:“None”}}