aiohomematic-test-support 2026.1.4__tar.gz → 2026.1.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {aiohomematic_test_support-2026.1.4/aiohomematic_test_support.egg-info → aiohomematic_test_support-2026.1.8}/PKG-INFO +1 -1
  2. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/__init__.py +1 -1
  3. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8/aiohomematic_test_support.egg-info}/PKG-INFO +1 -1
  4. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/mock.py +4 -3
  5. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/MANIFEST.in +0 -0
  6. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/README.md +0 -0
  7. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/aiohomematic_test_support.egg-info/SOURCES.txt +0 -0
  8. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/aiohomematic_test_support.egg-info/dependency_links.txt +0 -0
  9. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/aiohomematic_test_support.egg-info/top_level.txt +0 -0
  10. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/const.py +0 -0
  11. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/data/device_translation.json +0 -0
  12. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/data/full_session_randomized_ccu.zip +0 -0
  13. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/data/full_session_randomized_pydevccu.zip +0 -0
  14. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/event_capture.py +0 -0
  15. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/event_mock.py +0 -0
  16. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/factory.py +0 -0
  17. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/helper.py +0 -0
  18. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/py.typed +0 -0
  19. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/pyproject.toml +0 -0
  20. {aiohomematic_test_support-2026.1.4 → aiohomematic_test_support-2026.1.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic-test-support
3
- Version: 2026.1.4
3
+ Version: 2026.1.8
4
4
  Summary: Support-only package for AioHomematic (tests/dev). Not part of production builds.
5
5
  Author-email: SukramJ <sukramj@icloud.com>, Daniel Perna <danielperna84@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/SukramJ/aiohomematic
@@ -76,4 +76,4 @@ test dependencies to access test support functionality.
76
76
 
77
77
  from __future__ import annotations
78
78
 
79
- __version__ = "2026.1.4"
79
+ __version__ = "2026.1.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic-test-support
3
- Version: 2026.1.4
3
+ Version: 2026.1.8
4
4
  Summary: Support-only package for AioHomematic (tests/dev). Not part of production builds.
5
5
  Author-email: SukramJ <sukramj@icloud.com>, Daniel Perna <danielperna84@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/SukramJ/aiohomematic
@@ -52,6 +52,7 @@ import zipfile
52
52
  from aiohttp import ClientSession
53
53
  import orjson
54
54
 
55
+ from aiohomematic.async_support import Looper
55
56
  from aiohomematic.central import CentralUnit
56
57
  from aiohomematic.client import BaseRpcProxy, CircuitBreaker
57
58
  from aiohomematic.client.json_rpc import _JsonKey, _JsonRpcMethod
@@ -275,7 +276,7 @@ def get_xml_rpc_proxy( # noqa: C901
275
276
  self._supported_methods: tuple[str, ...] = ()
276
277
  self._central: CentralUnit | None = None
277
278
  # Real CircuitBreaker to provide actual metrics for tests
278
- self._circuit_breaker = CircuitBreaker(interface_id="mock-interface")
279
+ self._circuit_breaker = CircuitBreaker(interface_id="mock-interface", task_scheduler=Looper())
279
280
 
280
281
  def __getattr__(self, name: str) -> Any:
281
282
  # Start of method chain
@@ -333,11 +334,11 @@ def get_xml_rpc_proxy( # noqa: C901
333
334
 
334
335
  for dd in devices:
335
336
  if ignore_devices_on_create is not None and (
336
- dd["ADDRESS"] in ignore_devices_on_create or dd["PARENT"] in ignore_devices_on_create
337
+ dd["ADDRESS"] in ignore_devices_on_create or dd.get("PARENT") in ignore_devices_on_create
337
338
  ):
338
339
  continue
339
340
  if address_device_translation is not None:
340
- if dd["ADDRESS"] in address_device_translation or dd["PARENT"] in address_device_translation:
341
+ if dd["ADDRESS"] in address_device_translation or dd.get("PARENT") in address_device_translation:
341
342
  new_devices.append(dd)
342
343
  else:
343
344
  new_devices.append(dd)