Files
python-kasa/tests
richard tristan 78146d4e77
Some checks are pending
CI / Perform Lint Checks (3.14) (push) Waiting to run
CI / Python 3.11 on macos-latest (push) Blocked by required conditions
CI / Python 3.12 on macos-latest (push) Blocked by required conditions
CI / Python 3.13 on macos-latest (push) Blocked by required conditions
CI / Python 3.14 on macos-latest (push) Blocked by required conditions
CI / Python 3.11 on ubuntu-latest (push) Blocked by required conditions
CI / Python 3.12 on ubuntu-latest (push) Blocked by required conditions
CI / Python 3.13 on ubuntu-latest (push) Blocked by required conditions
CI / Python 3.14 on ubuntu-latest (push) Blocked by required conditions
CI / Python 3.11 on windows-latest (push) Blocked by required conditions
CI / Python 3.12 on windows-latest (push) Blocked by required conditions
CI / Python 3.13 on windows-latest (push) Blocked by required conditions
CI / Python 3.14 on windows-latest (push) Blocked by required conditions
CodeQL Checks / Analyze (python) (push) Waiting to run
Keep hub children when the child component list is missing (#1797)
Fixes #1796

Some hubs intermittently return a `getChildDeviceComponentList` result
without the `child_component_list` key, as seen with an H200 (firmware 1.7.7 Build 20260917).

This changes the logic, so that when the list is missing, children are neither created nor deleted for
that update, and a debug message is logged. Treating the response as an
empty list would delete the known children of a hub that has some, so
they are kept until the next complete response.
2026-10-24 18:16:16 +02:00
..