1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Fix device check if not exists (#2585)

This commit is contained in:
Pascal Vizeli
2021-02-18 12:39:42 +01:00
committed by GitHub
parent 8650947f04
commit 7ed9de8014

View File

@@ -125,6 +125,7 @@ class DockerAddon(DockerInterface):
device = self.sys_hardware.get_by_path(device_path)
except HardwareNotFound:
_LOGGER.debug("Ignore static device path %s", device_path)
continue
# Check access
if not self.sys_hardware.policy.allowed_for_access(device):