Closed kevtuning closed 9 months ago
Hey there @gerard33, @rikroe, mind taking a look at this issue as it has been labeled with an integration (bmw_connected_drive
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
bmw_connected_drive documentation bmw_connected_drive source (message by IssueLinks)
I get similar errors on a new install, HA is not able to discover any entities:
2023-11-15 04:42:13.933 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed 2023-11-15 04:42:14.793 ERROR (MainThread) [homeassistant.components.bmw_connected_drive.coordinator] Unexpected error fetching bmw_connected_drive-bmw@mydomain.com data: 'hmiVersion' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/coordinator.py", line 59, in _async_update_data await self.account.get_vehicles() File "/usr/local/lib/python3.11/site-packages/bimmer_connected/account.py", line 92, in get_vehicles await self._init_vehicles() File "/usr/local/lib/python3.11/site-packages/bimmer_connected/account.py", line 83, in _init_vehicles self.add_vehicle(vehicle_base, None, None, fetched_at) File "/usr/local/lib/python3.11/site-packages/bimmer_connected/account.py", line 148, in add_vehicle self.vehicles.append(MyBMWVehicle(self, vehicle_base, vehicle_state, charging_settings, fetched_at)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/vehicle.py", line 93, in init self.update_state(vehicle_base, vehicle_state, charging_settings, fetched_at) File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/vehicle.py", line 122, in update_state curr_attr.update_from_vehicle_data(vehicle_data) File "/usr/local/lib/python3.11/site-packages/bimmer_connected/models.py", line 44, in update_from_vehicle_data parsed = self._parse_vehicle_data(vehicle_data) or {} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/bimmer_connected/vehicle/reports.py", line 141, in _parse_vehicle_data retval["idrive_version"] = vehicle_data[ATTR_ATTRIBUTES]["hmiVersion"]
The problem
From some days I often have my bmw connected drive entities becoming available...
Most often Reload of the integration is making the trick but not this time.
This is the error message I find in the log:
Logger: bimmer_connected.api.authentication Source: components/bmw_connected_drive/coordinator.py:59 First occurred: 2:47:43 PM (20 occurrences) Last logged: 5:07:58 PM
MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
And also Unexpected error ****@gmail.com data: TireState.init() missing 1 required positional argument: 'status'
What version of Home Assistant Core has the issue?
2023.11.2
What was the last working version of Home Assistant Core?
2023.11.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Bmw Connected Drive
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bmw_connected_drive/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response