Track and display gas consumption per day by average outside temperature

Hey,
I want to display the and calculate the gas consumption by the average outside temperature and see how they relate.

I am using the viessmann integration. How can I calculate that value and how to display it?
I calculated already the average by using a sensor:

  - platform: average
    name: "Average Outside Temperature"
    end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
    duration:
      hours: 24
    entities:
      - sensor.vicare_outside_temperature

Thanks!

Did you get any further with this? I have a opentherm boiler so its not a great candidate to install tado for which would have answered my problem