How to configure multiple Tesla accounts

Hi,

we have 2 Teslas in our house, each on a different Tesla account.

Is it possible to add both to Home Assistant? I have one working, but can’t figure out the syntax for adding another account.

Did you try something like this:

tesla:
  - username: YOUR_EMAIL_ADDRESS
    password: YOUR_PASSWORD
  - username: YOUR_2nd__EMAIL_ADDRESS
    password: YOUR_2nd_PASSWORD

I tried wihtout the hyphen, gave config errors. Tried your method now, that gives

Invalid config for [tesla]: expected a dictionary for dictionary value @ data['tesla']. Got [OrderedDict([('username', '[email protected]'), ('password', 'xxx')]), OrderedDict([('username', '[email protected]'), ('password', 'xxx2')])]. (See /config/configuration.yaml, line 175). Please check the docs at https://home-assistant.io/components/tesla/

Get the same Error