I have an application where I'd like to turn a fan on and off based on a hardwired temperature. The ideal device would have three pins: Vcc, GND, and output, where output would source up to, say, 200 mA from Vcc when the temperature is above the threshold and floated (or shorted to GND) when below (with some hysteresis to prevent ringing, as in a thermostat). The device can be screwed or glued to a heatsink and costs less than a dollar. A cursory search yields very expensive, stainless steel type things and very inexpensive things that produce a logic signal but can't source what I need (while I could amplify the logic signal with a transistor, that significantly increases the complexity compared to what I'm imagining). I thought I'd turn to the hive mind to try to save some time. Does what I'm looking for exist? Thanks for any pointers.