The construction-time kind=headset seeding only covered the direct create_device path. G522-style devices reach a CenturionReceiver, whose notify_devices() builds the headset as a child Device with device_info=None and sets dev.centurion=True only after __init__ — so the __init__ guard never fired and the child kept kind=None. Set kind=headset in the pairing_info dict the receiver already passes into Device.__init__, which covers the bridge path. Both paths now seed the kind offline. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fake_hidpp.py | ||
| test_base.py | ||
| test_base_usb.py | ||
| test_common.py | ||
| test_desktop_notifications.py | ||
| test_device.py | ||
| test_diversion.py | ||
| test_hidpp10.py | ||
| test_hidpp20_complex.py | ||
| test_hidpp20_simple.py | ||
| test_notifications.py | ||
| test_receiver.py | ||
| test_rgb_power.py | ||
| test_setting_templates.py | ||
| test_settings_validator.py | ||