Recorder to keep certain sensor data for longer

I have power sensors that take readings very regularly (5 second intervals) … so this will be a lot of data that isn’t really important after a week or so …
But for my weight over time, which I take 1x per day and want to keep forever… currently there appears to be no way to do this (others have suggested logbook in other threads, but logbook is different and doesn’t allow data to be mapped in lovelace controls)

Something like:

recorder:
  custom:
    - sensor.weight_kris
      keep_days: inf #or a number like 365