diff --git a/scripts/create_new_hid.py b/scripts/create_new_hid.py index 0be8c5c1..3e9ff4ff 100644 --- a/scripts/create_new_hid.py +++ b/scripts/create_new_hid.py @@ -39,6 +39,14 @@ def main(): return device.family = family device.set_hid() + for c in device.components: + c.set_hid() + + if device.binding: + device.binding.device.family = family + device.binding.device.set_hid() + for c in device.binding.device.components: + c.set_hid() db.session.commit()