An automatic sensor that identifies the skin type being treated by the photoepilator. Individuals have varying skin types, which vary in sensitivity and color, influencing the selection of the best operational mode for the photoepilator. The sensor simplifies configuration by supplying essential data.