Skip to content

Commit

Permalink
service fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Garry Blair committed Mar 26, 2024
1 parent d9288a2 commit 6f90459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iso15118/evcc/states/iso15118_20_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ async def create_new_power_delivery_req(

# Information from EV to show if charging or discharging is planned
bpt_channel_selection = None
if self.comm_session.selected_energy_service in (
if self.comm_session.selected_energy_service.service in (
ServiceV20.AC_BPT,
ServiceV20.DC_BPT,
):
Expand Down Expand Up @@ -1567,7 +1567,7 @@ async def build_power_delivery_req(self):

# Information from EV to show if charging or discharging is planned
bpt_channel_selection = None
if self.comm_session.selected_energy_service in (
if self.comm_session.selected_energy_service.service in (
ServiceV20.AC_BPT,
ServiceV20.DC_BPT,
):
Expand Down

0 comments on commit 6f90459

Please sign in to comment.