Rest sensor getting removed after a while

Hi,
I have a sensor that i want to update once a year.
I got everything working to set data to the sensor.
But after maybe a week the sensor goes unavailable.
Is there something in Home Assistant that does that because it does not get new updates or is there something i can do to the webhook call to fix this?

webhook_sensor:
  url: !secret webhook_sensor_id_adress
  method: POST
  content_type: 'application/json'
  verify_ssl: false
  payload: "{ \"state\": \"{{ state }}\", \"attributes\": {\"unit_of_measurement\": \"{{ unit }}\", \"device_class\": \"{{ device_class }}\", \"state_class\": \"{{ state_class}}\" } }"
  headers:
    authorization: !secret webhook_token

Thanks in advance for all the help :slight_smile: