bimmer_connected: KeyError: 'vehicles'
Describe the issue BMW Connected Drive integration shows “unavailable” within any Lovelace cards.
Expected behavior Integration should connect successfully and create the regular set of sensors and entities for the following vehicles within my account G05 (2019 BMW X5) and F55 (2020 MINI 5-Door)
Home Assistant version Home Assistant 0.108.6 Last version: Not relevant as issue is independent of HA version.
Screenshots Log Output: 2020-04-18 11:33:24 WARNING (MainThread) [homeassistant.setup] Setup of bmw_connected_drive is taking over 10 seconds. 2020-04-18 11:33:28 ERROR (MainThread) [homeassistant.setup] Error during setup of component bmw_connected_drive Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/setup.py”, line 175, in _async_setup_component component.setup, hass, processed_config # type: ignore File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/init.py”, line 51, in setup accounts.append(setup_account(account_config, hass, name)) File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/init.py”, line 79, in setup_account cd_account = BMWConnectedDriveAccount(username, password, region, name, read_only) File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/init.py”, line 126, in init self.account = ConnectedDriveAccount(username, password, region) File “/usr/local/lib/python3.7/site-packages/bimmer_connected/account.py”, line 61, in init self._get_vehicles() File “/usr/local/lib/python3.7/site-packages/bimmer_connected/account.py”, line 230, in _get_vehicles for vehicle_dict in response.json()[‘vehicles’]: KeyError: ‘vehicles’
Your config.yaml
# BMW ConnectedDrive Integration
bmw_connected_drive:
name:
username: see below
password: see below
region: rest_of_world
username/password as proven to work on BMW ConnectedDrive portal and iOS App.
Output of bimmer_connected fingerprint I’m using the out-of-the-box integration from https://www.home-assistant.io/integrations/bmw_connected_drive/ so not so sure how to run the fingerprint.
NOTE: It might take me a while to respond on GitHub (I only maintain this in my free time), but I will respond.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (9 by maintainers)
vehicles_0.txt status_0.txt status_1.txt