I'm trying to figure out how to implement a project I have been working on for quite a bit on IFTTT. The basic idea is that I have a thermometer and two plugs from Broadlink, one for a heater, one for a fan. I'm trying to make an applet that allows me to take an input from either amazon Alexa or some other source, and then process it in the following method:
if tempInput > currentTemp
fan on
if tempInput < currentTemp
heater on
if tempInput = currentTemp
heater off
fan off