Data channel Fuel lost in between update 0.34 and 0.38

Hello everyone,
right now I am working with my team on updating our BeamNG version from 0.34 to 0.38. For our data logging with BeamNGpy v1.35 we are trying to access the variables fuel_capacity and fuel_volume. They should still be there, as the newest version on the Github suggests. BeamNGpy/src/beamngpy/sensors/electrics.py at master · BeamNG/BeamNGpy · GitHub

Instead we only have access to “fuel” but not to the other variables. It seems like we only have access to the variables listed in the documentation and not to the other ones, which sould still be there according to the Github.
Here is the link to the documentation. Electrics
Attached to this post is the print out of the electrical sensors.
Any suggestion, how we could solve our problem?

{'lowhighbeam_signal_L': 0.0, 'hasESC': 1.0, 'lowhighbeam_signal_R': 0.0, 'wheelspeed': 0.045834418845623504, 'horn': 0.0, 'isYCBrakeActive': 0.0, 'turnsignal': 0.0, 'oil': 0.0, 'virtualAirspeed': 0.09648923885442687, 'running': False, 'parking': 0.0, 'reverse_wigwag_L': 0.0, 'steering': 0.0, 'boostMax': 0.0, 'esc': 0.0, 'reverse': 0.0, 'accXSmooth': 0.014740566174822509, 'odometer': 0.025091997252584156, 'brake_input': 0.0, 'hasABS': 1.0, 'trip': 0.025091997252584156, 'wheelThermals': {'FR': {'brakeSurfaceTemperature': 14.999291992187523, 'brakeCoreTemperature': 14.999329958273387, 'brakeThermalEfficiency': 0.9148445797687902}, 'FL': {'brakeSurfaceTemperature': 14.999291992187523, 'brakeCoreTemperature': 14.999329958273387, 'brakeThermalEfficiency': 0.9148445797687902}, 'RL': {'brakeSurfaceTemperature': 14.999291992187523, 'brakeCoreTemperature': 14.999337772502136, 
'brakeThermalEfficiency': 0.9148445797687902}, 'RR': {'brakeSurfaceTemperature': 14.999291992187523, 'brakeCoreTemperature': 14.999337772502136, 'brakeThermalEfficiency': 0.9148445797687902}}, 'abs': 0.0, 'brakeGlow_RR': 0.0, 'nop': 0.0, 'highbeam_wigwag_R': 0.0, 'clutch': 0.0, 'lowfuel': False, 'brakeGlow_FR': 0.0, 'parkingbrakelight': 0.0, 'parkingbrake_input': 0.0, 'lightbar': 0.0, 'lights': 0.0, 'brakelight_signal_L': 0.0, 'brakelight_signal_R': 0.0, 'gear': 'N', 'parkingbrake': 0.0, 'gearboxMode': 'none', 'steering_input': 0.0, 'boost': 0.0, 'ignitionLevel': 2.0, 'ignition': False, 'fuel': 0.0, 'brakeGlow_RL': 0.0, 'accYSmooth': -0.3325208495335735, 'clutch_input': 0.0, 'rpm': 0.0, 'freezeState': False, 'isABSBrakeActive': 0.0, 'tcs': 0.0, 'dseWarningPulse': 0.0, 'brake': 0.0, 'brakeGlow_FL': 0.0, 'reverse_wigwag_R': 0.0, 'lowpressure': 0.0, 'isTCBrakeActive': 0.0, 'lowbeam': 0.0, 'rpmspin': 0.0, 'altitude': 0.1096192941519139, 'hazard': 0.0, 'highbeam': 0.0, 'airspeed': 0.017161953751718074, 'steeringUnassisted': 0.0, 'hasTCS': 1.0, 'lowhighbeam': 0.0, 'highbeam_wigwag_L': 0.0, 'throttle': 0.8, 'throttle_input': 0.8, 'electricalLoadCoef': 1.0, 'accZSmooth': -9.91907216375529, 'airflowspeed': 0.008205746230654174, 'abs_active': 0.0, 'avg_wheel_av': 0.14667125046253204, 'brake_lights': 0.0, 'check_engine': False, 'clutch_ratio': 1.0, 'engine_throttle': 0.0, 'esc_active': False, 'fog_lights': 0.0, 'gear_index': 0.0, 'hazard_signal': False, 'headlights': 0.0, 'oil_temperature': 0.0, 'rpm_tacho': 0.0, 'signal_l': 
0.0, 'left_signal': False, 'signal_r': 0.0, 'right_signal': False, 'tcs_active': False, 'water_temperature': 0.0}

hi @Lukas_Bernhardt, we tested both versions with etk800vehicle and both signals are working for us.

here is the minimal testing code:

from beamngpy import BeamNGpy, Scenario, Vehicle
from beamngpy.sensors import Electrics
import time

beamng = BeamNGpy("localhost", 25252)

print("Opening BeamNG")
beamng.open([], "-gfx", "vk")
print("BeamNG opened")
scenario = Scenario("smallgrid", "fuel_example")
v = Vehicle("my_car", model="etk800")
scenario.add_vehicle(v, pos=(0, 0, 0))
scenario.make(beamng)
beamng.scenario.load(scenario)
beamng.scenario.start()

electrics = Electrics()
v.sensors.attach("electrics", electrics)

n = 30
for i in range(n):
    time.sleep(1)
    v.sensors.poll()
    e = v.sensors["electrics"]
    fc = e['fuel_capacity']
    fv = e['fuel_volume']
    print(f"Step {i}: Fuel capacity: {fc}, Fuel volume: {fv}")


beamng.close()

Could you please run the following minimal example to see whether it reproduces the issue in your setup? If the behavior differs from your use case, could you also share additional details such as the vehicle used or any other relevant configuration, so we can better understand the discrepancy?