Skip to content

keep repeating discover_nodes until all registered nodes are online#279

Merged
dirixmjm merged 12 commits into
mainfrom
mdi
Jul 6, 2025
Merged

keep repeating discover_nodes until all registered nodes are online#279
dirixmjm merged 12 commits into
mainfrom
mdi

Make sure a node loads from cache even if it is offline.

3bdb00b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jul 5, 2025 in 0s

69.69% of diff hit (target 80.80%)

View this Pull Request on Codecov

69.69% of diff hit (target 80.80%)

Annotations

Check warning on line 418 in plugwise_usb/network/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/__init__.py#L418

Added line #L418 was not covered by tests

Check warning on line 471 in plugwise_usb/network/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/__init__.py#L464-L471

Added lines #L464 - L471 were not covered by tests

Check warning on line 491 in plugwise_usb/network/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/__init__.py#L490-L491

Added lines #L490 - L491 were not covered by tests

Check warning on line 544 in plugwise_usb/network/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/__init__.py#L543-L544

Added lines #L543 - L544 were not covered by tests

Check warning on line 38 in plugwise_usb/network/cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/cache.py#L38

Added line #L38 was not covered by tests

Check warning on line 60 in plugwise_usb/network/cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/cache.py#L60

Added line #L60 was not covered by tests

Check warning on line 62 in plugwise_usb/network/cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/cache.py#L62

Added line #L62 was not covered by tests

Check warning on line 64 in plugwise_usb/network/cache.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/cache.py#L64

Added line #L64 was not covered by tests

Check warning on line 161 in plugwise_usb/network/registry.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/registry.py#L159-L161

Added lines #L159 - L161 were not covered by tests

Check warning on line 228 in plugwise_usb/network/registry.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/registry.py#L228

Added line #L228 was not covered by tests

Check warning on line 274 in plugwise_usb/network/registry.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/network/registry.py#L274

Added line #L274 was not covered by tests

Check warning on line 892 in plugwise_usb/nodes/circle.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/circle.py#L892

Added line #L892 was not covered by tests

Check warning on line 896 in plugwise_usb/nodes/circle.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/circle.py#L896

Added line #L896 was not covered by tests

Check warning on line 903 in plugwise_usb/nodes/circle.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/circle.py#L903

Added line #L903 was not covered by tests

Check warning on line 907 in plugwise_usb/nodes/circle.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/circle.py#L907

Added line #L907 was not covered by tests

Check warning on line 234 in plugwise_usb/nodes/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/node.py#L234

Added line #L234 was not covered by tests

Check warning on line 592 in plugwise_usb/nodes/node.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugwise_usb/nodes/node.py#L592

Added line #L592 was not covered by tests

Check warning on line 1544 in tests/test_usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/test_usb.py#L1544

Added line #L1544 was not covered by tests

Check warning on line 1647 in tests/test_usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/test_usb.py#L1647

Added line #L1647 was not covered by tests