BMW connected drive error

Hi,

I receive the following error after adding the BMW connected drive string in Configuration.yaml. Can anybody help? Thanks in advance.

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 408, in _async_add_entity
await entity.async_update_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 266, in async_update_ha_state
self._async_write_ha_state()
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 308, in _async_write_ha_state
attr.update(self.device_state_attributes or {})
File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/lock.py”, line 62, in device_state_attributes
“door_lock_state”: vehicle_state.door_lock_state.value,
AttributeError: ‘NoneType’ object has no attribute ‘value’