If you want the average of the last 30 days of recorded data for sensor.buiten_temperatuur you must ensure Home Assistant’s recorder is configured to store at least thirty days of data. By default, it only stores ten days of data.
Be advised that if you increase it to 30 days, it will store thirty days worth of data for all entities in your system unless you include/exclude entities using recorder’s options.