Solenoid valves for air treatment