D terminal uses reverse logic and has 24V on it in no call for dehumidification. It drops to 0V on a call for dehumidification. If the Dehumidifier used with this thermostat looks for 24V it may turn on the fan. A relay would need to be added to invert the signal.