Add charging station vendor integration for Shelly wallboxes
MODIFY
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
src/integration/charging-station-vendor/ChargingStationVendorFactory.ts
@@ -7,6 +7,7 @@ import DeltaChargingStationVendorIntegration from './delta/DeltaChargingStationV
import EbeeChargingStationVendorIntegration from './ebee/EbeeChargingStationVendorIntegration';
import LegrandChargingStationVendorIntegration from './legrand/LegrandChargingStationVendorIntegration';
import SchneiderChargingStationVendorIntegration from './schneider/SchneiderChargingStationVendorIntegration';
+import SAPChargingStationVendorIntegration from './sap/SAPChargingStationVendorIntegration';
export default class ChargingStationVendorFactory {
@@ -34,6 +35,9 @@ export default class ChargingStationVendorFactory {
case ChargerVendor.ATESS:
chargingStationVendorImpl = new AtessChargingStationVendorIntegration(chargingStation);
break;
+ case ChargerVendor.SAP:
+ chargingStationVendorImpl = new SAPChargingStationVendorIntegration(chargingStation);
+ break;
}
return chargingStationVendorImpl;
}

ADD
src/integration/charging-station-vendor/sap/SAPChargingStationVendorIntegration.ts
+import ChargingStation from '../../../types/ChargingStation';
+import ChargingStationVendorIntegration from '../ChargingStationVendorIntegration';
+
+export default class SAPChargingStationVendorIntegration extends ChargingStationVendorIntegration {
+ constructor(chargingStation: ChargingStation) {
+ super(chargingStation);
+ }
+}

MODIFY
src/types/ChargingStation.ts
src/types/ChargingStation.ts
@@ -278,4 +278,5 @@ export enum ChargerVendor {
LEGRAND = 'Legrand',
ATESS = 'ATESS',
MENNEKES = 'MENNEKES',
+ SAP = 'SAP Labs France Caen',
}

Add charging station vendor integration for Shelly wallboxes