aiohomematic 2025.10.7__py3-none-any.whl → 2025.10.9__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/__init__.py +3 -3
- aiohomematic/async_support.py +1 -1
- aiohomematic/central/__init__.py +59 -31
- aiohomematic/central/decorators.py +1 -1
- aiohomematic/central/rpc_server.py +1 -1
- aiohomematic/client/__init__.py +19 -13
- aiohomematic/client/_rpc_errors.py +1 -1
- aiohomematic/client/json_rpc.py +29 -3
- aiohomematic/client/rpc_proxy.py +20 -2
- aiohomematic/const.py +25 -6
- aiohomematic/context.py +1 -1
- aiohomematic/converter.py +1 -1
- aiohomematic/decorators.py +1 -1
- aiohomematic/exceptions.py +1 -1
- aiohomematic/hmcli.py +1 -1
- aiohomematic/model/__init__.py +1 -1
- aiohomematic/model/calculated/__init__.py +21 -4
- aiohomematic/model/calculated/climate.py +59 -1
- aiohomematic/model/calculated/data_point.py +1 -1
- aiohomematic/model/calculated/operating_voltage_level.py +1 -1
- aiohomematic/model/calculated/support.py +41 -3
- aiohomematic/model/custom/__init__.py +1 -1
- aiohomematic/model/custom/climate.py +7 -4
- aiohomematic/model/custom/const.py +1 -1
- aiohomematic/model/custom/cover.py +1 -1
- aiohomematic/model/custom/data_point.py +1 -1
- aiohomematic/model/custom/definition.py +1 -1
- aiohomematic/model/custom/light.py +1 -1
- aiohomematic/model/custom/lock.py +1 -1
- aiohomematic/model/custom/siren.py +1 -1
- aiohomematic/model/custom/support.py +1 -1
- aiohomematic/model/custom/switch.py +1 -1
- aiohomematic/model/custom/valve.py +1 -1
- aiohomematic/model/data_point.py +3 -2
- aiohomematic/model/device.py +10 -13
- aiohomematic/model/event.py +1 -1
- aiohomematic/model/generic/__init__.py +1 -1
- aiohomematic/model/generic/action.py +1 -1
- aiohomematic/model/generic/binary_sensor.py +1 -1
- aiohomematic/model/generic/button.py +1 -1
- aiohomematic/model/generic/data_point.py +1 -1
- aiohomematic/model/generic/number.py +1 -1
- aiohomematic/model/generic/select.py +1 -1
- aiohomematic/model/generic/sensor.py +1 -1
- aiohomematic/model/generic/switch.py +1 -1
- aiohomematic/model/generic/text.py +1 -1
- aiohomematic/model/hub/__init__.py +1 -1
- aiohomematic/model/hub/binary_sensor.py +1 -1
- aiohomematic/model/hub/button.py +1 -1
- aiohomematic/model/hub/data_point.py +1 -1
- aiohomematic/model/hub/number.py +1 -1
- aiohomematic/model/hub/select.py +1 -1
- aiohomematic/model/hub/sensor.py +1 -1
- aiohomematic/model/hub/switch.py +1 -1
- aiohomematic/model/hub/text.py +1 -1
- aiohomematic/model/support.py +1 -1
- aiohomematic/model/update.py +1 -1
- aiohomematic/property_decorators.py +2 -2
- aiohomematic/store/__init__.py +34 -0
- aiohomematic/{caches → store}/dynamic.py +4 -4
- aiohomematic/store/persistent.py +933 -0
- aiohomematic/{caches → store}/visibility.py +4 -4
- aiohomematic/support.py +20 -17
- aiohomematic/validator.py +1 -1
- {aiohomematic-2025.10.7.dist-info → aiohomematic-2025.10.9.dist-info}/METADATA +1 -1
- aiohomematic-2025.10.9.dist-info/RECORD +78 -0
- aiohomematic_support/client_local.py +2 -2
- aiohomematic/caches/__init__.py +0 -12
- aiohomematic/caches/persistent.py +0 -478
- aiohomematic-2025.10.7.dist-info/RECORD +0 -78
- {aiohomematic-2025.10.7.dist-info → aiohomematic-2025.10.9.dist-info}/WHEEL +0 -0
- {aiohomematic-2025.10.7.dist-info → aiohomematic-2025.10.9.dist-info}/licenses/LICENSE +0 -0
- {aiohomematic-2025.10.7.dist-info → aiohomematic-2025.10.9.dist-info}/top_level.txt +0 -0
aiohomematic/model/hub/button.py
CHANGED
aiohomematic/model/hub/number.py
CHANGED
aiohomematic/model/hub/select.py
CHANGED
aiohomematic/model/hub/sensor.py
CHANGED
aiohomematic/model/hub/switch.py
CHANGED
aiohomematic/model/hub/text.py
CHANGED
aiohomematic/model/support.py
CHANGED
aiohomematic/model/update.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# SPDX-License-Identifier: MIT
|
|
2
|
-
# Copyright (c) 2021-2025
|
|
2
|
+
# Copyright (c) 2021-2025
|
|
3
3
|
"""
|
|
4
4
|
Decorators and helpers for declaring public attributes on data point classes.
|
|
5
5
|
|
|
@@ -15,7 +15,7 @@ All decorators accept an optional keyword-only argument log_context. If set to
|
|
|
15
15
|
True, the property will be included in the LogContextMixin.log_context mapping.
|
|
16
16
|
|
|
17
17
|
Notes on caching
|
|
18
|
-
- Marked with cached=True always
|
|
18
|
+
- Marked with cached=True always store on first access and invalidates on set/delete.
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
21
|
from __future__ import annotations
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MIT
|
|
2
|
+
# Copyright (c) 2021-2025
|
|
3
|
+
"""
|
|
4
|
+
Store packages for AioHomematic.
|
|
5
|
+
|
|
6
|
+
This package groups store implementations used throughout the library:
|
|
7
|
+
- persistent: Long-lived on-disk store for device and paramset descriptions.
|
|
8
|
+
- dynamic: Short-lived in-memory store for runtime values and connection health.
|
|
9
|
+
- visibility: Parameter visibility rules to decide which parameters are relevant.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
from aiohomematic.store.dynamic import CentralDataCache, CommandCache, DeviceDetailsCache, PingPongCache
|
|
15
|
+
from aiohomematic.store.persistent import (
|
|
16
|
+
DeviceDescriptionCache,
|
|
17
|
+
ParamsetDescriptionCache,
|
|
18
|
+
SessionRecorder,
|
|
19
|
+
cleanup_files,
|
|
20
|
+
)
|
|
21
|
+
from aiohomematic.store.visibility import ParameterVisibilityCache, check_ignore_parameters_is_clean
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"CentralDataCache",
|
|
25
|
+
"CommandCache",
|
|
26
|
+
"DeviceDescriptionCache",
|
|
27
|
+
"DeviceDetailsCache",
|
|
28
|
+
"ParameterVisibilityCache",
|
|
29
|
+
"ParamsetDescriptionCache",
|
|
30
|
+
"PingPongCache",
|
|
31
|
+
"SessionRecorder",
|
|
32
|
+
"cleanup_files",
|
|
33
|
+
"check_ignore_parameters_is_clean",
|
|
34
|
+
]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SPDX-License-Identifier: MIT
|
|
2
|
-
# Copyright (c) 2021-2025
|
|
2
|
+
# Copyright (c) 2021-2025
|
|
3
3
|
"""
|
|
4
|
-
Dynamic
|
|
4
|
+
Dynamic store used at runtime by the central unit and clients.
|
|
5
5
|
|
|
6
|
-
This module provides short-lived, in-memory
|
|
6
|
+
This module provides short-lived, in-memory store that support robust and efficient
|
|
7
7
|
communication with Homematic interfaces:
|
|
8
8
|
|
|
9
9
|
- CommandCache: Tracks recently sent commands and their values per data point,
|
|
@@ -16,7 +16,7 @@ communication with Homematic interfaces:
|
|
|
16
16
|
- PingPongCache: Tracks ping/pong timestamps to detect connection health issues
|
|
17
17
|
and emits interface events on mismatch thresholds.
|
|
18
18
|
|
|
19
|
-
The
|
|
19
|
+
The store are intentionally ephemeral and cleared/aged according to the rules in
|
|
20
20
|
constants to keep memory footprint predictable while improving responsiveness.
|
|
21
21
|
"""
|
|
22
22
|
|