Skip to content

Commit

Permalink
Update soc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andlem74 authored Dec 2, 2024
1 parent 278b0c5 commit ff981cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/modules/vehicles/psacc/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


from modules.common import req
from modules.common.abstract_device import DeviceDescriptor
from modules.common.abstract_vehicle import VehicleUpdateData
from modules.common.component_state import CarState
from modules.common.configurable_vehicle import ConfigurableVehicle
Expand All @@ -27,3 +28,6 @@ def updater(vehicle_update_data: VehicleUpdateData) -> CarState:
component_updater=updater,
vehicle=vehicle,
calc_while_charging=True)


device_descriptor = DeviceDescriptor(configuration_factory=PSACCVehicleSoc)

0 comments on commit ff981cb

Please sign in to comment.