The conditional nature of the local warming effect