Apparatus for controlling air treatment