Sensor value: How to set time delta

I’m not sure how to explain, so I will write what the exact problem is :
I have a sensor that sends a value every second. This is of course saved into the ha database.
Can I somehow let home assistant only write the value once a minute to the database (the avarage of the 60 seconds would be perfect) ?
Values for every second are a waste of disc space and also look awful in a graph.
Hope there is a way to do this.

Add a throttle filter sensor: Filter - Home Assistant

Exclude the source sensor (that updates too frequently) from the recorder. Recorder - Home Assistant

Use the filtered sensor everywhere you need to.