Yes i know what a thermosdat is, but how exactly does it work? Meaning, how do you connect it to the flexwatt?

Also, if a tank has UTH, does the air temperature not matter anymore?