Thanks. I’ll subscribe there.
The PR with a fix for rest_of_world users is here → Fix login to BMW services for rest_of_world by rikroe · Pull Request #54261 · home-assistant/core · GitHub
Nice, works like a charm. Thank you!
The most recent PR update got things working again for me (as far as sensors for charge level, mileage etc.) but when I try to send command to activate climatization it’s not working. Anyone else noticing the same thing? I’ve always service call of: bmw_connected_drive.activate_air_conditioning along with the vehicle’s VIN number. Maybe something has changed?
Yes, same problem here, so I checked – there’s a bug already logged in the bimmer_connected library.
The fix is in progress:
The latest updates regarding the BMW integration can be found in this post → BMW Connected drive doesn't work anymore? - #49 by gerard33
Hey guys, some entities went offline after the Nov update of HA, anyone experience the same?
These ones in particular:
I’m seeing this over and over again in my log are you?
2021-11-08 10:05:26 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 535, in update
value_converted = self.hass.config.units.length(value, LENGTH_KILOMETERS)
File "/usr/src/homeassistant/homeassistant/util/unit_system.py", line 116, in length
raise TypeError(f"{length!s} is not a numeric value.")
TypeError: None is not a numeric value.
No I am not seeing any BMW related warnings/errors in my logs.
Same issue as @sd_dracula, no errors in the logs, but sensors related to electric charging and trip statistics are missing
Guessing it could be BMW that changed their API? Will put in an issue in github.
Hello, now all updates of my bmw stopped working.
I have this in the log:
Logger: homeassistant.components.sensor
Source: components/bmw_connected_drive/sensor.py:565
Integration: Sensor (documentation, issues)
First occurred: 13:05:45 (23 occurrences)
Last logged: 13:05:45
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 565, in update
self._attr_native_value = getattr(attr, sub_attr)
AttributeError: 'NoneType' object has no attribute 'community_average'
Also having issues today using the BMW integration to read data from my Mini & all off a sudden stopped updating. The Mini Connected app works just fine so looks like as said above BMW changed the API & integration is broken
Ah, I see I am not the only one having sudden issues with BMW Connected Drive integration! +1
Completely broken after 2021.11.2 update
2021-11-09 18:45:51 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'
2021.10.3 have the same issues - so it’s not related to 2021.11.2 - it’s a general break of integration
Same issue with core-2021.11.1, seems not to be related with the update.
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 79, in _are_problems_detected
for report in vehicle_state.condition_based_services:
TypeError: 'NoneType' object is not iterable
Broken for me too!
I have three sensors/functions going unavailable - the rest seems to update fine. Have this in my logs:
Error 1:
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/lock.py”, line 93, in update
result[“door_lock_state”] = vehicle_state.door_lock_state.value
AttributeError: ‘NoneType’ object has no attribute ‘value’
Error 2:
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 60, in _are_doors_locked
extra_attributes[“door_lock_state”] = vehicle_state.door_lock_state.value
AttributeError: ‘NoneType’ object has no attribute ‘value’
Error 3:
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 79, in _are_problems_detected
for report in vehicle_state.condition_based_services:
TypeError: ‘NoneType’ object is not iterable
Also broken. But binary_sensor.i3s_94_rex_lids, binary_sensor.i3s_94_rex_windows, sensor.i3s_94_rex_remaining_range_total, binary_sensor.i3s_94_rex_check_control_messages continue to show status information.