I’m gone back to Core core-2021.10.6 but not work anyway
The last sensors disappeared are
remaining_fuel
lock
condition_based_services
door_lock_state
One other sensor about a light is desappeared a lot time ago!
Any solution?
Thanks
2021-11-09 21:13:30 ERROR (MainThread) [homeassistant.components.lock] 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'
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'
2021-11-09 21:15:01 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 79, in _are_problems_detected
for report in vehicle_state.condition_based_services:
TypeError: 'NoneType' object is not iterable
There is already a bug report listed for this in Github