Is it possible to set the display precision of a utility meter in YAML?

For example, I have a utility meter configured in YAML:

utility_meter:
    coffee_station:
      name: Coffee station running cost
      unique_id: coffee_station_running_cost
      source: sensor.coffee_station_energy_cost
      cycle: daily
      delta_values: true
      always_available: true

And once that is up, I can go into the GUI and configure display precision:

But I much prefer doing things in YAML as I can generate YAML from SQL queries in the DB etc.

Anyway, is it possible to configure the display precision outside of the GUI for a Utility Meter?

I don’t want to format the source sensor state as that will lose the precision at the source of truth. I want to only format the Utility Meter, and the link from the blog post about display precision about how to configure not via the GUI only talks about sensor states. Yet via the GUI I’m able to keep my sensor state with high precision, and format the display of the Utility Meter only.

Anyone know how to achieve this?

Thanks in advance!

I think you need to create a template sensor with source = sensor.coffee_station and the wanted display precision.