aiohomematic 2025.10.0__py3-none-any.whl → 2025.10.1__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.

@@ -105,6 +105,7 @@ from aiohomematic.const import (
105
105
  DEFAULT_SYSVAR_MARKERS,
106
106
  DEFAULT_TLS,
107
107
  DEFAULT_UN_IGNORES,
108
+ DEFAULT_USE_GROUP_CHANNEL_FOR_COVER_STATE,
108
109
  DEFAULT_VERIFY_TLS,
109
110
  DEVICE_FIRMWARE_CHECK_INTERVAL,
110
111
  DEVICE_FIRMWARE_DELIVERING_CHECK_INTERVAL,
@@ -1854,6 +1855,7 @@ class CentralConfig:
1854
1855
  sysvar_markers: tuple[DescriptionMarker | str, ...] = DEFAULT_SYSVAR_MARKERS,
1855
1856
  tls: bool = DEFAULT_TLS,
1856
1857
  un_ignore_list: frozenset[str] = DEFAULT_UN_IGNORES,
1858
+ use_group_channel_for_cover_state: bool = DEFAULT_USE_GROUP_CHANNEL_FOR_COVER_STATE,
1857
1859
  verify_tls: bool = DEFAULT_VERIFY_TLS,
1858
1860
  ) -> None:
1859
1861
  """Init the client config."""
@@ -1884,6 +1886,7 @@ class CentralConfig:
1884
1886
  self.sysvar_markers: Final = sysvar_markers
1885
1887
  self.tls: Final = tls
1886
1888
  self.un_ignore_list: Final = un_ignore_list
1889
+ self.use_group_channel_for_cover_state: Final = use_group_channel_for_cover_state
1887
1890
  self.username: Final = username
1888
1891
  self.verify_tls: Final = verify_tls
1889
1892
 
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.0"
22
+ VERSION: Final = "2025.10.1"
23
23
 
24
24
  # Detect test speedup mode via environment
25
25
  _TEST_SPEEDUP: Final = (
@@ -45,6 +45,7 @@ DEFAULT_SYSVAR_MARKERS: Final[tuple[DescriptionMarker | str, ...]] = ()
45
45
  DEFAULT_SYS_SCAN_INTERVAL: Final = 30
46
46
  DEFAULT_TLS: Final = False
47
47
  DEFAULT_UN_IGNORES: Final[frozenset[str]] = frozenset()
48
+ DEFAULT_USE_GROUP_CHANNEL_FOR_COVER_STATE: Final = True
48
49
  DEFAULT_VERIFY_TLS: Final = False
49
50
 
50
51
  # Default encoding for json service calls, persistent cache
@@ -100,6 +100,7 @@ class CustomDpCover(CustomDataPoint):
100
100
  "_dp_group_level",
101
101
  "_dp_level",
102
102
  "_dp_stop",
103
+ "_use_group_channel_for_cover_state",
103
104
  )
104
105
  _category = DataPointCategory.COVER
105
106
  _closed_level: float = _CLOSED_LEVEL
@@ -118,11 +119,16 @@ class CustomDpCover(CustomDataPoint):
118
119
  self._dp_group_level: DpSensor[float | None] = self._get_data_point(
119
120
  field=Field.GROUP_LEVEL, data_point_type=DpSensor[float | None]
120
121
  )
122
+ self._use_group_channel_for_cover_state = self.central.config.use_group_channel_for_cover_state
121
123
 
122
124
  @property
123
125
  def _group_level(self) -> float:
124
126
  """Return the channel level of the cover."""
125
- if self._dp_group_level.value is not None and self.usage == DataPointUsage.CDP_PRIMARY:
127
+ if (
128
+ self._use_group_channel_for_cover_state
129
+ and self._dp_group_level.value is not None
130
+ and self.usage == DataPointUsage.CDP_PRIMARY
131
+ ):
126
132
  return float(self._dp_group_level.value)
127
133
  return self._dp_level.value if self._dp_level.value is not None else self._closed_level
128
134
 
@@ -276,7 +282,11 @@ class CustomDpBlind(CustomDpCover):
276
282
  @property
277
283
  def _group_tilt_level(self) -> float:
278
284
  """Return the group level of the tilt."""
279
- if self._dp_group_level_2.value is not None and self.usage == DataPointUsage.CDP_PRIMARY:
285
+ if (
286
+ self._use_group_channel_for_cover_state
287
+ and self._dp_group_level_2.value is not None
288
+ and self.usage == DataPointUsage.CDP_PRIMARY
289
+ ):
280
290
  return float(self._dp_group_level_2.value)
281
291
  return self._dp_level_2.value if self._dp_level_2.value is not None else self._closed_level
282
292
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic
3
- Version: 2025.10.0
3
+ Version: 2025.10.1
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=ngULK_anZQwwUUCVcberBdVjguYfboiuG9VoueKy9fA,2283
2
2
  aiohomematic/async_support.py,sha256=Xc55KkIV0h8rf936QKyU4OHSZsPEZ8TwuV8gVveeRh8,6106
3
- aiohomematic/const.py,sha256=iRFyrsWQX3Vb6glqBD9eMegu67CnGBDh_h2OvPmTg2o,25467
3
+ aiohomematic/const.py,sha256=yfOeQy05cZwg9buFrp1jmvoC4sbBo6dPRjz3DloQ8jY,25523
4
4
  aiohomematic/context.py,sha256=M7gkA7KFT0dp35gzGz2dzKVXu1PP0sAnepgLlmjyRS4,451
5
5
  aiohomematic/converter.py,sha256=QTOL8_B6SoCoqLuRSkjtOlfa7BVFSvOfnSBrDngiinA,3558
6
6
  aiohomematic/decorators.py,sha256=oHEFSJoJVd-h9RYb6NLTJ60erkpRHPYv7EEipKn1a9Q,10636
@@ -14,7 +14,7 @@ aiohomematic/caches/__init__.py,sha256=_gI30tbsWgPRaHvP6cRxOQr6n9bYZzU-jp1WbHhWg
14
14
  aiohomematic/caches/dynamic.py,sha256=ANZUbkueQBeKC8Jwd44LH6qdt6qBCPWgzB5J0aHGUJw,21334
15
15
  aiohomematic/caches/persistent.py,sha256=od1hqoXopGw53gSVvd3rmT_40KuutSY43MUPKj1HAvU,19932
16
16
  aiohomematic/caches/visibility.py,sha256=-PWXc7sJxVhJzzU8WZkiokaL_ANE7EZ2-IO8TIZHGw8,31537
17
- aiohomematic/central/__init__.py,sha256=7l23fW4zUGBRxVMmGXtsz5r4wKPrI0aPaDRpvi9geQA,86159
17
+ aiohomematic/central/__init__.py,sha256=b4m9VDyFUI_J50WzWbwe0HAYkSk945VlK0gN5xW5u20,86389
18
18
  aiohomematic/central/decorators.py,sha256=Sl-cMDhreiAOKkIHiei-QbIOcvbWGVX-QwB5bLeohak,6904
19
19
  aiohomematic/central/xml_rpc_server.py,sha256=pOqOuTp1Yy5Wlqs5E-L9f_UNW8j9HSE5XMAPCdXJchI,10407
20
20
  aiohomematic/client/__init__.py,sha256=YuVD_FNh2Q_9SiDtGTM0T--ycT3hzCgkZM_W9AOOuTg,70106
@@ -35,7 +35,7 @@ aiohomematic/model/calculated/support.py,sha256=K-oUSSH6k6_J7zZ9cwxt6qIfArWd-SBW
35
35
  aiohomematic/model/custom/__init__.py,sha256=1sWRrAjHnHSakdrrlNW4_SZ2rg5g2WjGdI4X2PUg_h0,6064
36
36
  aiohomematic/model/custom/climate.py,sha256=N0w4mne_UUZopaKM7yiJHGlHrY292slk6_gsh2RZ5Ng,56688
37
37
  aiohomematic/model/custom/const.py,sha256=Kh1pnab6nmwbaY43CfXQy3yrWpPwsrQdl1Ea2aZ6aw0,4961
38
- aiohomematic/model/custom/cover.py,sha256=8coWxSyFgsDKoTQIvu0czfiVufobtkHgQdlp4ocAqu8,28555
38
+ aiohomematic/model/custom/cover.py,sha256=8McZrgjh4MW1v7VEITKFu_B9gKou0tXKaiFRQV5jUtE,28889
39
39
  aiohomematic/model/custom/data_point.py,sha256=d7B8gfyDDZf8HW3f0ofeHYF32GE8kgnQ0DZYSUbLHxY,14112
40
40
  aiohomematic/model/custom/definition.py,sha256=qDUijmDLuu9Oe837WBdpEPrfVwVZW98H7eVbD2kerW4,35487
41
41
  aiohomematic/model/custom/light.py,sha256=P_v0ZWy0mHqluYVIsqMR7Zo1SGHdyGK_3H-GlQnHhs8,44173
@@ -69,10 +69,10 @@ aiohomematic/rega_scripts/get_serial.fn,sha256=t1oeo-sB_EuVeiY24PLcxFSkdQVgEWGXz
69
69
  aiohomematic/rega_scripts/get_system_variable_descriptions.fn,sha256=UKXvC0_5lSApdQ2atJc0E5Stj5Zt3lqh0EcliokYu2c,849
70
70
  aiohomematic/rega_scripts/set_program_state.fn,sha256=0bnv7lUj8FMjDZBz325tDVP61m04cHjVj4kIOnUUgpY,279
71
71
  aiohomematic/rega_scripts/set_system_variable.fn,sha256=sTmr7vkPTPnPkor5cnLKlDvfsYRbGO1iq2z_2pMXq5E,383
72
- aiohomematic-2025.10.0.dist-info/licenses/LICENSE,sha256=q-B0xpREuZuvKsmk3_iyVZqvZ-vJcWmzMZpeAd0RqtQ,1083
72
+ aiohomematic-2025.10.1.dist-info/licenses/LICENSE,sha256=q-B0xpREuZuvKsmk3_iyVZqvZ-vJcWmzMZpeAd0RqtQ,1083
73
73
  aiohomematic_support/__init__.py,sha256=_0YtF4lTdC_k6-zrM2IefI0u0LMr_WA61gXAyeGLgbY,66
74
74
  aiohomematic_support/client_local.py,sha256=kWzrIeyrvSQx1qVX9_L1bgaFr9aPRDm3E3p82eqkFvo,12538
75
- aiohomematic-2025.10.0.dist-info/METADATA,sha256=gwYr_waUP6P_Gpi82v-1EBAVkDTqVm-ah8xQG7HlzG8,7603
76
- aiohomematic-2025.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
77
- aiohomematic-2025.10.0.dist-info/top_level.txt,sha256=5TDRlUWQPThIUwQjOj--aUo4UA-ow4m0sNhnoCBi5n8,34
78
- aiohomematic-2025.10.0.dist-info/RECORD,,
75
+ aiohomematic-2025.10.1.dist-info/METADATA,sha256=2g4lMoRA8JfacOkP_7NPsE_v5TQ-rQ5y66PrD3q34Fs,7603
76
+ aiohomematic-2025.10.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
77
+ aiohomematic-2025.10.1.dist-info/top_level.txt,sha256=5TDRlUWQPThIUwQjOj--aUo4UA-ow4m0sNhnoCBi5n8,34
78
+ aiohomematic-2025.10.1.dist-info/RECORD,,