I think they're bi-metallic, or a slightly more modern version of the same principal.
The relay has 4 spades iirc, power in, flash out, indicator display out, trailer display out.
It simply flashes like a normal flashed unit, but also decides what the wattage is and thus whether to display the trailer light aswell.
Cheers.