ESP-RFID with home assistant

Hi, has anyone integrated an esprfid device? I have a weigand keypad setup with esprfid, mqtt messages sent to HA, but I need to set up a garage door cover.

I can open the lock sending mqtt message to RFID/cmd
cmd:open door
ip: (device IP)

I am wandering how people have integrated their devices and mqtt templates

Hi, If I understand correctly, you want to read an RFID key, send the code to the home assistant and it has to open a lock. The protocol you use is MQTT