aiohomematic 2025.10.24__py3-none-any.whl → 2025.10.26__py3-none-any.whl

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.

Potentially problematic release.


This version of aiohomematic might be problematic. Click here for more details.

@@ -1170,8 +1170,8 @@ class ClientCCU(Client):
1170
1170
  if handle_ping_pong
1171
1171
  else self.interface_id
1172
1172
  )
1173
- self._ping_pong_cache.handle_send_ping(ping_ts=dt_now)
1174
1173
  await self._proxy.ping(callerId)
1174
+ self._ping_pong_cache.handle_send_ping(ping_ts=dt_now)
1175
1175
  elif not self._is_initialized:
1176
1176
  await self._proxy.ping(self.interface_id)
1177
1177
  self.modified_at = dt_now
aiohomematic/const.py CHANGED
@@ -19,7 +19,7 @@ import sys
19
19
  from types import MappingProxyType
20
20
  from typing import Any, Final, NamedTuple, Required, TypeAlias, TypedDict
21
21
 
22
- VERSION: Final = "2025.10.24"
22
+ VERSION: Final = "2025.10.26"
23
23
 
24
24
  # Detect test speedup mode via environment
25
25
  _TEST_SPEEDUP: Final = (
@@ -49,6 +49,7 @@ import orjson
49
49
  from slugify import slugify
50
50
 
51
51
  from aiohomematic import central as hmcu
52
+ from aiohomematic.async_support import loop_check
52
53
  from aiohomematic.const import (
53
54
  ADDRESS_SEPARATOR,
54
55
  FILE_DEVICES,
@@ -977,10 +978,11 @@ def _now() -> int:
977
978
  return int(datetime.now(tz=UTC).timestamp())
978
979
 
979
980
 
980
- async def cleanup_files(*, central_name: str, storage_directory: str) -> None:
981
+ @loop_check
982
+ def cleanup_files(*, central_name: str, storage_directory: str) -> None:
981
983
  """Clean up the used files."""
982
984
  loop = asyncio.get_running_loop()
983
985
  cache_dir = _get_file_path(storage_directory=storage_directory, sub_directory=SUB_DIRECTORY_CACHE)
984
- loop.call_soon_threadsafe(delete_file, cache_dir, f"{central_name}*.json".lower())
986
+ loop.run_in_executor(None, delete_file, cache_dir, f"{central_name}*.json".lower())
985
987
  session_dir = _get_file_path(storage_directory=storage_directory, sub_directory=SUB_DIRECTORY_SESSION)
986
- loop.call_soon_threadsafe(delete_file, session_dir, f"{central_name}*.json".lower())
988
+ loop.run_in_executor(None, delete_file, session_dir, f"{central_name}*.json".lower())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic
3
- Version: 2025.10.24
3
+ Version: 2025.10.26
4
4
  Summary: Homematic interface for Home Assistant running on Python 3.
5
5
  Home-page: https://github.com/sukramj/aiohomematic
6
6
  Author-email: SukramJ <sukramj@icloud.com>, Daniel Perna <danielperna84@gmail.com>
@@ -1,6 +1,6 @@
1
1
  aiohomematic/__init__.py,sha256=Uo9CIoil0Arl3GwtgMZAwM8jhcgoBKcZEgj8cXYlswY,2258
2
2
  aiohomematic/async_support.py,sha256=Fg6RLD7Irt1mTwXbLkfphJbfd7oU_Svhp23i3Bb4Q7k,8762
3
- aiohomematic/const.py,sha256=fIDxshIxw2xC0tLEimqSnw86uzxrJSy9cwZNZjUSgNE,27482
3
+ aiohomematic/const.py,sha256=h7_VmgTlpgrJFFjP_jJBS6M1_dmqQG-IRc0N4SL3Do4,27482
4
4
  aiohomematic/context.py,sha256=hGE-iPcPt21dY-1MZar-Hyh9YaKL-VS42xjrulIVyRQ,429
5
5
  aiohomematic/converter.py,sha256=FiHU71M5RZ7N5FXJYh2CN14s63-PM-SHdb0cJ_CLx54,3602
6
6
  aiohomematic/decorators.py,sha256=cSW0aF3PzrW_qW6H0sjRNH9eqO8ysqhXZDgJ2OJTZM4,11038
@@ -13,7 +13,7 @@ aiohomematic/validator.py,sha256=qX5janicu4jLrAVzKoyWgXe1XU4EOjk5-QhNFL4awTQ,354
13
13
  aiohomematic/central/__init__.py,sha256=UmPIumAjMLCfkbaMic_jvdH2V1feP0uqcsdS9ji14jo,96600
14
14
  aiohomematic/central/decorators.py,sha256=ja0d5MujL-Kfv399XIPRgiUxeyf67HwNWAuD7nmFJzg,6902
15
15
  aiohomematic/central/rpc_server.py,sha256=EhvBy8oMjBTR8MvH5QXo3lvlsCNJrvu6B85_CAg6sG8,10742
16
- aiohomematic/client/__init__.py,sha256=HXq39-7EJazsDroTiSFdYtok4xQ0FbTmV420PGjlLqI,74365
16
+ aiohomematic/client/__init__.py,sha256=TYeVOGNVsGSCoaL1v9z1F8Sfx-Aq7zzz-yComAnnh8E,74365
17
17
  aiohomematic/client/_rpc_errors.py,sha256=IaYjX60mpBJ43gDCJjuUSVraamy5jXHTRjOnutK4azs,2962
18
18
  aiohomematic/client/json_rpc.py,sha256=82uVldmvNEB_F9BA_2oA55UmThRJRW2wRTPbcJiBvQg,51580
19
19
  aiohomematic/client/rpc_proxy.py,sha256=Am-MTLCVtQDPm2AOjVy1Bb4uulwdV2J6172SQRjdbso,11844
@@ -67,11 +67,11 @@ aiohomematic/rega_scripts/set_program_state.fn,sha256=0bnv7lUj8FMjDZBz325tDVP61m
67
67
  aiohomematic/rega_scripts/set_system_variable.fn,sha256=sTmr7vkPTPnPkor5cnLKlDvfsYRbGO1iq2z_2pMXq5E,383
68
68
  aiohomematic/store/__init__.py,sha256=PHwF_tw_zL20ODwLywHgpOLWrghQo_BMZzeiQSXN1Fc,1081
69
69
  aiohomematic/store/dynamic.py,sha256=3i8oajVhfTeckAuOhwTyIxrd-eb1fl5VxEdK3NPfisw,22323
70
- aiohomematic/store/persistent.py,sha256=SBL8AhqUzpoPtJ50GkLYHwvRJS52fBWqNPjgvykxbY8,40233
70
+ aiohomematic/store/persistent.py,sha256=6ZcOxFJtl7cLCacuHMRVnTPxmrhT4uxTwzHiR_7Xm1g,40291
71
71
  aiohomematic/store/visibility.py,sha256=ZaqxN_FIsvpYZvCZWu0YSlWLtrFmAfUYILBYIXxPJZs,31622
72
- aiohomematic-2025.10.24.dist-info/licenses/LICENSE,sha256=q-B0xpREuZuvKsmk3_iyVZqvZ-vJcWmzMZpeAd0RqtQ,1083
73
- aiohomematic-2025.10.24.dist-info/METADATA,sha256=xk0cZyYJt9w0qeTOHbqlf3zMAiJQ_QRPJyS4PGaH8z0,7950
74
- aiohomematic-2025.10.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- aiohomematic-2025.10.24.dist-info/entry_points.txt,sha256=tzk3wIE-hXNhLEiefCCDhIiRT7DYY9MePAwGw-kPmWI,57
76
- aiohomematic-2025.10.24.dist-info/top_level.txt,sha256=iGUvt1N-E72vKRq7Anpp62HwkQngStrUK0JfL1zj1TE,13
77
- aiohomematic-2025.10.24.dist-info/RECORD,,
72
+ aiohomematic-2025.10.26.dist-info/licenses/LICENSE,sha256=q-B0xpREuZuvKsmk3_iyVZqvZ-vJcWmzMZpeAd0RqtQ,1083
73
+ aiohomematic-2025.10.26.dist-info/METADATA,sha256=Y4CjOWPdBDXqNyEW0VS13eSHQ82_EEILDEC8d9MP4RE,7950
74
+ aiohomematic-2025.10.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
+ aiohomematic-2025.10.26.dist-info/entry_points.txt,sha256=tzk3wIE-hXNhLEiefCCDhIiRT7DYY9MePAwGw-kPmWI,57
76
+ aiohomematic-2025.10.26.dist-info/top_level.txt,sha256=iGUvt1N-E72vKRq7Anpp62HwkQngStrUK0JfL1zj1TE,13
77
+ aiohomematic-2025.10.26.dist-info/RECORD,,