aiohomematic 2025.10.25__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.

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.25"
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.25
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=qS6qjW8szpJYt1hudHJG7zokHp_PjoO1-u65Z5-TsXU,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
@@ -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.25.dist-info/licenses/LICENSE,sha256=q-B0xpREuZuvKsmk3_iyVZqvZ-vJcWmzMZpeAd0RqtQ,1083
73
- aiohomematic-2025.10.25.dist-info/METADATA,sha256=I3qrHxmZ2K1HTKCLARxj444R9y0PrOuhhmJ4UavC8vM,7950
74
- aiohomematic-2025.10.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- aiohomematic-2025.10.25.dist-info/entry_points.txt,sha256=tzk3wIE-hXNhLEiefCCDhIiRT7DYY9MePAwGw-kPmWI,57
76
- aiohomematic-2025.10.25.dist-info/top_level.txt,sha256=iGUvt1N-E72vKRq7Anpp62HwkQngStrUK0JfL1zj1TE,13
77
- aiohomematic-2025.10.25.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,,