TP4056-42 Without battery temperature sensor
From the datasheet:


  Temperature Sense Input:  ... If TEMP pin’s voltage is below 45% or above 80% of supply voltage VIN for more than 0.15S, this means that
  battery’s temperature is too high or too low, charging is suspended.
  The temperature sense function can be disabled by grounding the TEMP
  pin.


If you do not want to use it, ground it.  

Perhaps the online schematics that you mention are faking a signal to be within the 45% to 80% range?  It's hard to say without examples.