Bed, in particular medical bed, for example hospital or nursing care bed, - having a height-adjustable lying surface upon which a mattress rests, - having a head part, a foot part and/or at least one side part, which, at least in one state of the bed, project beyond the mattress of the bed, - having a motor to adjust the height of the lying surface as a means for assisting standing up, - having a control system to control the motor to adjust the height, wherein the control system comprises - at least one sensor, - which comprises at least one actuating element that can be actuated to generate a control signal and - which comprises an interface to emit the control signal, - at least one actuator, - which comprises an interface via which the control signal can be received in the actuator, and - which comprises a switching element to switch at least one current path or an adjusting element to set at least one voltage, one current or another physical variable on the basis of the received control signal, - wherein the sensor comprises at least one fastening element with which the sensor can be attached to the head part, the foot part, and/or the side part, and - wherein the head part, the foot part and/or the side part comprise a support structure or support structures, on which the sensor can be mounted without a tool by interaction with the at least one fastening element, characterised in that - the bed comprises a handle as a means for assisting standing up and the handle and the sensor are parts of a handle-sensor unit of the bed. - having a height-adjustable lying surface upon which a mattress rests, - having a head part, a foot part and/or at least one side part, which, at least in one state of the bed, project beyond the mattress of the bed, - having a motor to adjust the height of the lying surface as a means for assisting standing up, - having a control system to control the motor to adjust the height, wherein the control system comprises - at least one sensor, - which comprises at least one actuating element that can be actuated to generate a control signal and - which comprises an interface to emit the control signal, - which comprises at least one actuating element that can be actuated to generate a control signal and - which comprises an interface to emit the control signal, - at least one actuator, - which comprises an interface via which the control signal can be received in the actuator, and - which comprises a switching element to switch at least one current path or an adjusting element to set at least one voltage, one current or another physical variable on the basis of the received control signal, - which comprises an interface via which the control signal can be received in the actuator, and - which comprises a switching element to switch at least one current path or an adjusting element to set at least one voltage, one current or another physical variable on the basis of the received control signal, - wherein the sensor comprises at least one fastening element with which the sensor can be attached to the head part, the foot part, and/or the side part, and - wherein the head part, the foot part and/or the side part comprise a support structure or support structures, on which the sensor can be mounted without a tool by interaction with the at least one fastening element, characterised in that - the bed comprises a handle as a means for assisting standing up and the handle and the sensor are parts of a handle-sensor unit of the bed.