A faucet comprising: a spout having a hose disposed therein; a pull-out spray head fluidly coupled to the hose and configured to dock at an end of the spout ; a sensor assembly disposed at least partially in the spout proximate the end of the spout , the sensor assembly including a lens bezel , a lens assembly , a hose guide , and a wire harness , wherein the lens bezel secures the sensor assembly within the spout , wherein the lens assembly is detachably coupled to the lens bezel , the lens assembly including a sensor and a lens at least partially exposed in the bezel aperture when the lens assembly is coupled to the lens bezel , wherein the faucet further comprises a control unit communicatively coupled to the sensor and configured to control fluid flow through the hose and the pull-out spray head based on control signals generated by the sensor , and at least one wire communicatively coupling the control unit to the sensor , wherein the wire harness is configured to separate the at least one wire from the hose in the faucet , characterized in that the sensor assembly additionally comprises a shutter disposed adjacent the sensor , the shutter being operable to obscure the sensor in a closed state and expose the sensor in an open state; wherein the shutter is operable to expose the sensor in the open state through the bezel aperture ; wherein the hose guide is configured to decouple the hose from the sensor assembly during extension and retraction of the pull-out spray head ; wherein the lens bezel is a c-shaped member having a central spine having a bezel aperture defined therein and a slide track that allows the shutter to slide along the direction of the central spine between the open state and the closed state. a spout having a hose disposed therein; a pull-out spray head fluidly coupled to the hose and configured to dock at an end of the spout ; a sensor assembly disposed at least partially in the spout proximate the end of the spout , the sensor assembly including a lens bezel , a lens assembly , a hose guide , and a wire harness , wherein the lens bezel secures the sensor assembly within the spout , wherein the lens assembly is detachably coupled to the lens bezel , the lens assembly including a sensor and a lens at least partially exposed in the bezel aperture when the lens assembly is coupled to the lens bezel , wherein the faucet further comprises a control unit communicatively coupled to the sensor and configured to control fluid flow through the hose and the pull-out spray head based on control signals generated by the sensor , and at least one wire communicatively coupling the control unit to the sensor , wherein the wire harness is configured to separate the at least one wire from the hose in the faucet , the sensor assembly additionally comprises a shutter disposed adjacent the sensor , the shutter being operable to obscure the sensor in a closed state and expose the sensor in an open state; wherein the shutter is operable to expose the sensor in the open state through the bezel aperture ; wherein the hose guide is configured to decouple the hose from the sensor assembly during extension and retraction of the pull-out spray head ; wherein the lens bezel is a c-shaped member having a central spine having a bezel aperture defined therein and a slide track that allows the shutter to slide along the direction of the central spine between the open state and the closed state. <EOS>