Is there a such thing as a humidistat as described here...?

Is there a such thing as a humidistat that I can connect to my attic fan so that it is turned on if either the temp hits a certain point or the humidity hits a certain level? Thanks!

Jen, Honeywell or Johnson Controls sell a variety of humidistats that can be used with your attic fan but there’s a number of other issues that would have to be addressed such as line voltage or low voltage wiring to the electrical code, control location such as a wall or in the fan airstream, etc… The Johnson P/N W42AA-1C is a wall mount control that handles the desire for humidification or de-humidification and line or low voltage but expect to pay close to $200 or more for this type of control…
And be mindful when working with certain humidity controls; they’re designed to operate equipment to achieve desired relative humidity levels regardless of temp…