A piece of resting furniture such as a bed or chair comprising a least one actuator (4,5) and a control unit (11) and at least one control panel (9,10) to bring about an adjustment of the piece of furniture, and further comprising at least one strain gauge (18,19) connected to an alarm to detect whether a person is occupying the piece of furniture or not wherein the strain gauge (18,19) is located in connection with the actuator (4,5). The function is based on relative changes in the load on the strain gauge (18, 19) from a preset reference thereby allowing use of sensors with low resolution, which thereby are comparatively cheap. Moreover, when placing the strain gauge (18,19) in connection with the actuator (4,5) this simplifies the incorporation thereof in the piece of furniture. Not least the construction also renders it possible in an easy manner to upgrade existing hospital and care beds with an egress function.