ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
157 stars 30 forks source link

Webapi change #240

Closed Wank-ster closed 4 months ago

Wank-ster commented 4 months ago

The problem

Unable to connect to server. I had the same problem connecting from evcc but they got it fixed. https://github.com/evcc-io/evcc/pull/14093

IMG_1873

What version of MBAPI2020 do use?

V0.13.0

What was the last working version of MBAPI2020?

V0.13.0

What type of installation are you running?

Home Assistant OS

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Error setting up entry xxxxxxxxxx@gmail.com (Region: Europe) for mbapi2020
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 584, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mbapi2020/__init__.py", line 77, in async_setup_entry
    for car in masterdata.get("assignedVehicles"):
               ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Additional information

No response

ReneNulschDE commented 4 months ago

Please update to v0.14.0 of the component. Was fixed here before I changed it in EVCC. :-)

ReneNulschDE commented 4 months ago

Duplicate #231

Wank-ster commented 4 months ago

Sorry for bothering you, seems like I missed this update - and of course, THANK YOU!