Skip to content

Commit

Permalink
Fix: cannot access local variable 'curr_display_value' for EQx cars
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneNulschDE committed Mar 5, 2024
1 parent 8b8f2f2 commit 543ce5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/mbapi2020/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ def _get_car_values(self, car_detail, car_id, class_instance, options, update):
].get("max_soc")
status = "VALID"
curr_unit = "PERCENT"
curr_display_value = value
else:
# charge_program_parameters does not exists, continue with the next option
continue
Expand Down

0 comments on commit 543ce5e

Please sign in to comment.