SML sensor value - loss of precision for Wh energy reading

Hello,

I’m reading my smartmeter with the SML component of ESPHome. This is my sensor definition:

sensor:
  - platform: sml
    id: "total_energy"
    name: "Total energy [Wh]"
    internal: true
    sml_id: mysml
    obis_code: "1-0:1.8.0"
    unit_of_measurement: ""
    accuracy_decimals: 0
    device_class: energy
    state_class: total_increasing
    filters:
      - multiply: 0.1

My energy meter is giving the energy reading in Wh, but the API is giving me a value of e.g. 3.488665e7=34886650 instead 34886656. So there is some loss of precision. I think the data type is just to small for a energy reading in Wh. Can this be changed?

{"id":"sensor-total_energy_wh","value":3.488665e7,"state":"34886656"}