HI, Im trying to confiure my pool solar heating system.
I need to turn on switch.poolpump when sensor.gw1100c_outdoor_temperature is 2 degrees C warmer than sensor.pool_water_temperature and then turn off again when the temperature drops.
The for time prevents the pump cycling too often. Adjust it as you see fit. It could also be moved to the first automation so the pump turns off straight away but the temperature difference must be +2 degrees for a time before the pump turns on. There are pros and cons for both methods, use what you think is best.