}
private getStationInfoFromFile(
- stationInfoPersistentConfiguration: boolean,
+ stationInfoPersistentConfiguration = true,
): ChargingStationInfo | undefined {
let stationInfo: ChargingStationInfo | undefined;
if (stationInfoPersistentConfiguration === true) {
};
const stationInfoFromTemplate: ChargingStationInfo = this.getStationInfoFromTemplate();
const stationInfoFromFile: ChargingStationInfo | undefined = this.getStationInfoFromFile(
- stationInfoFromTemplate?.stationInfoPersistentConfiguration ?? true,
+ stationInfoFromTemplate?.stationInfoPersistentConfiguration,
);
// Priority:
// 1. charging station info from template