Abstract: A sensor assembly for an electrically adjustable piece of furniture having at least one actuator for adjusting a component and a control for the actuator comprises a light transmitter and a light receiver which are coupled to one another via an optical light path. An aperture element which is configured to at least partially cover the light path and which is mounted in a movable manner with respect to the light path in such a way that a change in a position of the aperture element results in a change in the covering of the light path. An evaluation circuit regulates a light quantity emitted by the light transmitter to a reference quantity by means of a control signal and generates a deformation signal based on the control signal or on a signal derived from the control signal. The aperture element converts a deformation or movement of the component into a change of position of the aperture element relative to the light path.