Just two wires going to it, not three? There are three terminals, so is one unused? Some Directional flashers have only two wires because inside of them is a thermo-electric switch that cycles on and off repeatedly once power (or a ground) is applied
Other than that, dunno. 🤷♂️
I would be tempted to jumper the green and white wires to see what happens.