Open CAME gates using Arduino and 433 Mhz transmitter, based on this sketch.
You can obtain your gate's code using this sketch.
Works by MQTT. Just send any payload to configured topic and it will open gates.
Sample config for Home Assistant:
switch:
- platform: mqtt
unique_id: gates_btn
name: "Gates Switch"
command_topic: "esp/street/gates/open"
availability:
- topic: "esp/street/gates/available"
qos: 0
retain: false
ESPHome version can be found here.