I am trying to create an automation that will turn on ventilation fans when the temperature in a room is above/below the outside temperature.
This is easy to do, however, I am trying to do the following:
If outside is 5 degrees or more colder (below) than the inside sensor, turn on the fans. The goal here is to ensure that I am only pulling in cold air from outside. If the temp is nearly the same as the room temp, I don't want the fans on. I only want the fans on when the outside temp is at least 5 degrees, or colder, than inside sensor.
How can I do something like that?