<p>An actuator cap (10) for a dispenser includes a housing having first and second ends. The first end is adapted to be retained on an aerosol container (30) having a valve stem. A conduit is provided having an inlet adapted to receive the valve stem of the container and to hold the valve stem in an act uated position to open a valve assembly within the container. A solenoid val ve (240) is in fluid communication with the conduit and a discharge orifice. The solenoid valve is transitioned from a closed state to an open state by a signal generated by a controller to provide a fluid path between the condu it and the discharge orifice. The controller is adapted to generate the sign al in response to the manual depression of a trigger (86) retained on the ho using by a living hinge (88).</p>