After update to 2021.11.2 the BMW Connected doesn’t work for me. I have reinstalled the integration but same problem…
2021-11-09 22:02:13 ERROR (MainThread) [homeassistant.components.sensor] bmw_connected_drive: Error on device update!
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 651, in async_device_update
await task
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/sensor.py”, line 528, in update
self._attr_native_value = getattr(vehicle_state, sensor_key).value
AttributeError: ‘NoneType’ object has no attribute ‘value’
2021-11-09 22:02:13 ERROR (MainThread) [homeassistant.components.binary_sensor] bmw_connected_drive: Error on device update!
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 651, in async_device_update
await task
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/binary_sensor.py”, line 251, in update
self._attr_is_on = self.entity_description.value_fn(
File “/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/binary_sensor.py”, line 102, in _is_vehicle_charging
extra_attributes[“charging_status”] = vehicle_state.charging_status.value
AttributeError: ‘NoneType’ object has no attribute ‘value’