SNMP counter rollover

Hi Guys,
i’m currently struggeling to get the Bandwidth readout of an OpenWRT Router with SNMP. The below configuration works however every 4Gbytes when the 32 bit counter rollsover to 0 I get negative numbers in my satistics graph. Which messes up the graph.
lan_stat

I couldn’t find a decent solution i wanted to ask if someone have found one!
Thanks
Johannes
Connfig:

  - platform: snmp
    name: "eth0_2_in"
    host: "10.0.0.1"
    community: "public"
    baseoid: "1.3.6.1.2.1.2.2.1.10.8"
    unit_of_measurement: "bytes"
    version: 2c

  - platform: statistics
    name: "LAN Download Stats"
    entity_id: sensor.eth0_2_in
    sampling_size: 4
    state_characteristic: change_second
    max_age:
      hours: 24