commandParams?: JsonType,
params?: RequestParams
): Promise<ResponseType> {
- if (OCPP16ServiceUtils.isRequestCommandSupported(chargingStation, commandName)) {
+ if (OCPP16ServiceUtils.isRequestCommandSupported(chargingStation, commandName) === true) {
const requestPayload = this.buildRequestPayload<RequestType>(
chargingStation,
commandName,