Utility meter multiplier [SOLVED]

I have a device sending energy data in Watthours but I would like to display in kWh and have the values divided by 1000.
Is there no way to have a value template or multiplier (by 0.001) in the Utility Meter so I need to create a template sensor first as feed to the Utility Meter?
I get a variety of invalid config errors with any value_template config.
The following code gives the result in WattHours

utility_meter:
  daily_import_energy:
    source: sensor.esp_6channel_ct6_rawatthours
    cycle: daily

My other option is to use a custom:template-entity-row and just change the display in the card.

Bump. Anyone?
What would a value_template look like that works?

Ok since value_templates are not valid in Utility Meter integration I solved this adding the required value-template and units of measure etc in customize.yaml.
Like this

sensor.daily_export_energy:
  device_class: energy  
  state_class: total    
  value_template: "{{ (states('sensor.esp_6channel_ct6_fawatthours') | float) * 0.001 }}"
  unit_of_measurement: kWh
  decimals: 3