I don't know how the TP4056 is realized and how it ensures safe charging of the cell ( datasheet link missing).
The purpose of the sensor is to monitore the temperature of the cell while charging and discharging, and to avoid it gets is too high. Have a look on thermal runaway events, which occures at a cell tempeture of ~60°C. If you use a too high charge current, this might "fire" up the cell.
Does the TP4056 supports a cell temperature measurement? If yes, which kind?
BR