Skip to content

Commit

Permalink
Update __init__.py to remove logging error device
Browse files Browse the repository at this point in the history
  • Loading branch information
ingoldsby authored Feb 7, 2025
1 parent 13f0271 commit 0da3c36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/unifi_mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ async def update_unifi_data(now):
for device in unifi_devices:
# If the device is not a dictionary, log its value and skip processing it.
if not isinstance(device, dict):
_LOGGER.error("Received device that is not a dictionary: %s", device)
continue

if not device.get("adopted"):
Expand Down

0 comments on commit 0da3c36

Please sign in to comment.