Included humidity threshold in resume program logic