You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-05-30 09:59:31.276 ERROR (MainThread) [homeassistant.components.update] Error while setting up unifi platform for update
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/unifi/update.py", line 91, in async_setup_entry
controller.register_platform_add_entities(
File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 230, in register_platform_add_entities
async_load_entities(description)
File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 209, in async_load_entities
async_add_unifi_entity(list(api_handler))
File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 200, in async_add_unifi_entity
[
File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 201, in <listcomp>
unifi_platform_entity(obj_id, self, description)
File "/usr/src/homeassistant/homeassistant/components/unifi/entity.py", line 106, in __init__
self._attr_device_info = description.device_info_fn(controller.api, obj_id)
File "/usr/src/homeassistant/homeassistant/components/unifi/entity.py", line 57, in async_device_device_info_fn
hw_version=str(device.board_revision),
File "/usr/local/lib/python3.10/site-packages/aiounifi/models/device.py", line 672, in board_revision
return self.raw["board_rev"]
KeyError: 'board_rev'
The problem
After adding the Unifi integration I am seeing an error on startup. This error only shows up during a reboot
What version of Home Assistant Core has the issue?
Home Assistant 2023.5.4 Supervisor 2023.04.1 Operating System 10.2 Frontend 20230503.3 - latest
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Unifi
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifi https://github.com/home-assistant/core/tree/dev/homeassistant/components/unifi
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
As noted, this error only occurs on boot up.
One link I found mentioned "board_rev being deprecated":
https://community.ui.com/questions/Removed-board-revision-information-in-UniFi-Controller-6-0-x/82cb254f-121b-4bda-b62e-1dd775cd9ce0
The text was updated successfully, but these errors were encountered: