I have a couple of Wyze Lock Bolts and they seem to be causing an out of range error in this integration:
home-assistant | 2023-08-04 13:48:31.221 ERROR (MainThread) [homeassistant.components.lock] wyzeapi: Error on device update!
home-assistant | Traceback (most recent call last):
home-assistant | File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 570, in _async_add_entity
home-assistant | await entity.async_device_update(warning=False)
home-assistant | File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 940, in async_device_update
home-assistant | await self.async_update()
home-assistant | File "/config/custom_components/wyzeapi/token_manager.py", line 45, in inner_function
home-assistant | await func(*args, **kwargs)
home-assistant | File "/config/custom_components/wyzeapi/lock.py", line 149, in async_update
home-assistant | lock = await self._lock_service.update(self._lock)
home-assistant | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
home-assistant | File "/usr/local/lib/python3.11/site-packages/wyzeapy/services/lock_service.py", line 18, in update
home-assistant | device_info = await self._get_lock_info(lock)
home-assistant | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
home-assistant | File "/usr/local/lib/python3.11/site-packages/wyzeapy/services/base_service.py", line 499, in _get_lock_info
home-assistant | device_uuid = device.mac.split(".")[2]
home-assistant | ~~~~~~~~~~~~~~~~~~~~~^^^
home-assistant | IndexError: list index out of range
I don't really need those locks supported but this is impacting updates to my other Wyze devices.