diff --git a/ereuse_devicehub/resources/device/models.py b/ereuse_devicehub/resources/device/models.py index 4858706b..6bcf6a3a 100644 --- a/ereuse_devicehub/resources/device/models.py +++ b/ereuse_devicehub/resources/device/models.py @@ -825,7 +825,8 @@ class Device(Thing): ).first() def set_hid(self): - if 'property_hid' in app.blueprints.keys(): + is_component = isinstance(self, Component) + if 'property_hid' in app.blueprints.keys() and not is_component: try: from ereuse_devicehub.modules.device.utils import set_hid