Hi,
I have a problem with the configuration of my Nuki bridge.
I configured it in my configuration.yaml:
# Nuki
lock:
- platform: nuki
host: 192.168.1.126
port: 8080
token: <API key as configured in developer mode on bridge>
I tried the integration with and without port definition.
When restarting I get the following log output:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 198, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/nuki/lock.py", line 55, in async_setup_platform
entities = await hass.async_add_executor_job(get_entities)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/nuki/lock.py", line 51, in get_entities
entities = [NukiLockEntity(lock) for lock in bridge.locks]
File "/usr/local/lib/python3.8/site-packages/pynuki/bridge.py", line 234, in locks
return self._get_devices(device_type=const.DEVICE_TYPE_LOCK)
File "/usr/local/lib/python3.8/site-packages/pynuki/bridge.py", line 209, in _get_devices
for k, v in l["lastKnownState"].items()
KeyError: 'lastKnownState'
Any tips on what to try next?