BMW Connected Drive Integration configuration.yaml

Hi there,

I would like to integrate BMW ConnectedDrive into Home Assistant.
The integration via the user interface unfortunately reports an error. So I tried the configuration.yaml and proceeded according to these instructions: BMW Connected Drive - Home Assistant

I used the following code:

# BMW Connected Drive
bmw_connected_drive:
    name: BMW Connected Drive
    username: [email protected]
    password: abcdefg#
    region: rest_of_world

Unfortunately, the following message comes up when checking the configuration:

Invalid config for [bmw_connected_drive]: expected a dictionary for dictionary value @ data['bmw_connected_drive']['name']. Got 'BMW Connected Drive'
expected a dictionary for dictionary value @ data['bmw_connected_drive']['password']. Got 'abcdefg#'
expected a dictionary for dictionary value @ data['bmw_connected_drive']['region']. Got 'rest_of_world'
expected a dictionary for dictionary value @ data['bmw_connected_drive']['username']. Got '[email protected]'. (See /config/configuration.yaml, line 91). 

What am I doing wrong ?

Warm greetings
Werner

I think your indentation is incorrect.

Try the following:-

# BMW Connected Drive
bmw_connected_drive:
  name: BMW Connected Drive
  username: [email protected]
  password: abcdefg#
  region: rest_of_world