refactor: factor out more charging station options handling code
[e-mobility-charging-stations-simulator.git] / src / charging-station / Helpers.ts
index f69d86f8fe180d9af9652ab70626fd65c872b695..258613a3f1aa29d32e9818d17db366a9bf8bbcba 100644 (file)
@@ -344,6 +344,9 @@ export const setChargingStationOptions = (
     stationInfo.automaticTransactionGeneratorPersistentConfiguration =
       options.persistentConfiguration
   }
+  if (options?.autoStart != null) {
+    stationInfo.autoStart = options.autoStart
+  }
   if (options?.autoRegister != null) {
     stationInfo.autoRegister = options.autoRegister
   }