After sensor change, statistics entity gone from influxdb

Hi,
perhaphs somebody knows what could be the reason or solution for this:
My customized ikea pm2.5 sensor used to work with esp easy and I switched to tasmota, so now I have different entity id for that sensor and it also has different unit of measurement, however I was only using ‘statistics’ entity for graphs and influxdb. In home assistant all is fine, but influxdb no longer has any data for statistics entity.

  - platform: statistics
    name: 'Ikea air quality statistics'
    entity_id: sensor.tasmota_vindriktning_pm2_5   **# I only updated new id**
    sampling_size: 10
    max_age: '00:10:00'
    precision: 1


influxdb:
  host: 192.168.0.26
  port: 8086
  database: hass
  username: ###########
  password: ###########
  ssl: false
  verify_ssl: false
  max_retries: 3
  default_measurement: state
  include:
    entities:
       - ################################
       - ################################
       - sensor.ikea_air_quality_statistics  # this id is visible in ha for statistics entity
       - ################################
       - ################################