Energy carbon consumed gauge

I am trying to add the energy-carbon-consumed-gauge to a dashboard and all I get is the following message:-

Consumed non-fossil energy couldn’t be calculated

I have added the CO2 Signal integration and have 2 new sensors created:

sensor.co2_intensity
sensor.grid_fossil_fuel_percentage

Any ideas please.

Solved my own problem. Needed to add the 2 sensors the recorder.