core: Failed to set up UniFi Protect
The problem
When switching from working HACS integration 0.12 the new core integration fails to set up.
What version of Home Assistant Core has the issue?
core-2022.2.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Unifi Protect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifiprotect
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Error setting up entry udmpro for unifiprotect
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/unifiprotect/__init__.py", line 81, in async_setup_entry
await data_service.async_setup()
File "/usr/src/homeassistant/homeassistant/components/unifiprotect/data.py", line 74, in async_setup
await self.async_refresh()
File "/usr/src/homeassistant/homeassistant/components/unifiprotect/data.py", line 108, in async_refresh
self._async_process_updates(updates)
File "/usr/src/homeassistant/homeassistant/components/unifiprotect/data.py", line 150, in _async_process_updates
devices: dict[str, ProtectDeviceModel] = getattr(self.api.bootstrap, attr)
AttributeError: 'Bootstrap' object has no attribute 'doorlocks'
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (6 by maintainers)
Remove that bottom directory and restart again