maybe someone can help me and tell me what the error messages mean.
i’m running hass 0.64.3 and tried the custom_component.
all i can see is DOOR and WINDOW state, which both show as closed.
here’s the excerpt of my log:
2018-03-06 12:43:58 ERROR (Recorder) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/bmw_connected_drive.py", line 98, in update
listener()
File "/home/homeassistant/.homeassistant/custom_components/binary_sensor/bmw_connected_drive.py", line 105, in update
self._state = bool(vehicle_state.door_lock_state.value
File "/srv/homeassistant/lib/python3.5/site-packages/bimmer_connected/state.py", line 196, in door_lock_state
return LockState(self._attributes['door_lock_state'])
KeyError: 'door_lock_state'
2018-03-06 12:28:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 266, in _async_add_entity
yield from entity.async_added_to_hass()
File "/home/homeassistant/.homeassistant/custom_components/lock/bmw_connected_drive.py", line 108, in async_added_to_hass
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/lock/bmw_connected_drive.py", line 96, in update
self._state = (STATE_LOCKED if vehicle_state.door_lock_state.value
File "/srv/homeassistant/lib/python3.5/site-packages/bimmer_connected/state.py", line 196, in door_lock_state
return LockState(self._attributes['door_lock_state'])
KeyError: 'door_lock_state'
and then i get a lot of these every 30s:
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
2018-03-06 12:28:56 ERROR (MainThread) [bimmer_connected.state] No data available!
edit: i just realised i got that info as well:
edit2: i tried “switching” the horn, and it showed up in my “bmw app’s log”.