Need help with water cost not giving correct total


ive tried making cost sensor and doing manual in energy dashboard cant get correct total 1p per litre can anyone help

  - platform: template
    sensors:
      water_usage_cost:
        unique_id: a66aa76c-16f7-4650-8ce9-51563de1c30f
        value_template: "{{ (states('sensor.water_valve_water_consumed')|float * 0.01) | round(2) }}"
        unit_of_measurement: 'GBP/L'  # Or your currency
        device_class: monetary
        friendly_name: "Water Usage Cost"

this give me price but does not update is this correct?