Bed exit sensor on bed