History don't work on only one sensor

Hi! I have 2 sensors on same hardware. Both working fine except History.
On Temp_In, I got a large history (one data on every 5 sec) and on Temp_Out, I had partial history (one data on every 3 to 6 hours). But, the current value Temp_Out change every 5 seconds (working fine!)

I use external mySQL server for database (/config/configuration.yaml)

recorder:
#  purge_keep_days: 5
#  purge_interval: 1
  db_url: mysql://home_assistant:password@IP_OF_SQL_SERVER:3307/home_assistant?charset=utf8