How do I tell ZHA to use a custom quirk for a specific device?

I have two Tuya TS004F and for some reason one of them doesn’t report the model to ZHA so I was trying to force it to use the same quirks file of the other one.

2022-11-02_10-12-30

Problem is, I can’t find any documentation on how to do that, so I could use some help.