First I want to say thank you for integration for Mercedes cars.
Since a couple days the integration shows an error. I already deleted the token and restarted homeassistant, but the problem still is the same after deleting and adding the integration. The 6-digit PIN is send from Mercedes and added to the integration wizard successfully. Maybe the following error message is helpful, or did I oversee any thing? Thx for your help!
2023-04-05 23:48:42.666 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry mbapi2020 for mbapi2020
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mbapi2020/init.py", line 80, in async_setup_entry
await mercedes.client.set_rlock_mode()
File "/config/custom_components/mbapi2020/client.py", line 923, in set_rlock_mode
info = await system_info.async_get_system_info(self._hass)
File "/usr/src/homeassistant/homeassistant/helpers/system_info.py", line 57, in async_get_system_info
info_object["supervisor"] = info.get("supervisor")
AttributeError: 'NoneType' object has no attribute 'get'
First I want to say thank you for integration for Mercedes cars.
Since a couple days the integration shows an error. I already deleted the token and restarted homeassistant, but the problem still is the same after deleting and adding the integration. The 6-digit PIN is send from Mercedes and added to the integration wizard successfully. Maybe the following error message is helpful, or did I oversee any thing? Thx for your help!
2023-04-05 23:48:42.666 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry mbapi2020 for mbapi2020
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/mbapi2020/init.py", line 80, in async_setup_entry
await mercedes.client.set_rlock_mode()
File "/config/custom_components/mbapi2020/client.py", line 923, in set_rlock_mode
info = await system_info.async_get_system_info(self._hass)
File "/usr/src/homeassistant/homeassistant/helpers/system_info.py", line 57, in async_get_system_info
info_object["supervisor"] = info.get("supervisor")
AttributeError: 'NoneType' object has no attribute 'get'