diff --git a/iso15118/secc/states/iso15118_2_states.py b/iso15118/secc/states/iso15118_2_states.py index 35d355ae..2e2f2083 100644 --- a/iso15118/secc/states/iso15118_2_states.py +++ b/iso15118/secc/states/iso15118_2_states.py @@ -12,6 +12,7 @@ from iso15118.secc.comm_session_handler import SECCCommunicationSession from iso15118.secc.controller.ev_data import EVSessionContext15118 from iso15118.secc.controller.interface import AuthorizationResponse +from iso15118.secc.controller.evse_data import CurrentType from iso15118.secc.states.secc_state import StateSECC from iso15118.shared.exceptions import ( CertAttributeError, @@ -1366,7 +1367,7 @@ async def process_message( ac_evse_charge_params = ( await self.comm_session.evse_controller.get_ac_charge_params_v2() ) - evse_data_context.update_ac_charge_parameters_v2(ac_evse_charge_params) + evse_data_context.current_type = CurrentType.AC ev_data_context.update_ac_charge_parameters_v2( charge_params_req.ac_ev_charge_parameter ) @@ -1374,7 +1375,7 @@ async def process_message( dc_evse_charge_params = ( await self.comm_session.evse_controller.get_dc_charge_parameters_v2() ) - evse_data_context.update_dc_charge_parameters(dc_evse_charge_params) + evse_data_context.current_type = CurrentType.DC ev_data_context.update_dc_charge_parameters( charge_params_req.dc_ev_charge_parameter ) diff --git a/pyproject.toml b/pyproject.toml index 73cbf577..f83887b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iso15118" -version = "0.26.0" +version = "0.26.1" description = "Implementation of DIN SPEC 70121, ISO 15118-2 and -20 specs for SECC" authors = ["André Duarte ", "Dr. Marc Mültin ",