Sonoff TH16

Does anyone know how to set a range of temperature on the Sonoff TH16 temperature sensor? Im trying to get HA (or my Alexa or Cortana) to turn on a device (AC or fan) when the temerature rises to a specific degree and turn off the device when it drops below the set temperature. I’ve also tried ifttt, but that only works in detecting of the device is on or off, not auto.