Energy dashboard exported energy cost not working

I have a sensor which records export, this is from developer tools:

state_class: total_increasing
last_reset: '2021-12-01T00:00:00.112712+00:00'
source: sensor.energy_export_kwh
status: collecting
last_period: '0'
meter_period: daily
cron pattern: 0 0 * * *
unit_of_measurement: kWh
friendly_name: export_daily
icon: mdi:counter
device_class: energy

I also have a entity with the current price

unit_of_measurement: p/kWh
friendly_name: octopus_outgoing_current_price
device_class: monetary

But the total in energy dashboard never increases with the exported amount.

What am I doing wrong?