aiohomematic 2025.8.6__py3-none-any.whl → 2025.8.7__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
@@ -11,7 +11,7 @@ import re
11
11
  import sys
12
12
  from typing import Any, Final, NamedTuple, Required, TypedDict
13
13
 
14
- VERSION: Final = "2025.8.6"
14
+ VERSION: Final = "2025.8.7"
15
15
 
16
16
  # Detect test speedup mode via environment
17
17
  _TEST_SPEEDUP: Final = (
@@ -371,6 +371,8 @@ class Device(PayloadMixin):
371
371
  """Return the room of the device, if only one assigned in CCU."""
372
372
  if self._rooms and len(self._rooms) == 1:
373
373
  return list(self._rooms)[0]
374
+ if (maintenance_channel := self.get_channel(channel_address=f"{self._address}:0")) is not None:
375
+ return maintenance_channel.room
374
376
  return None
375
377
 
376
378
  @property
@@ -857,6 +859,10 @@ class Channel(PayloadMixin):
857
859
  """Return the room of the device, if only one assigned in CCU."""
858
860
  if self._rooms and len(self._rooms) == 1:
859
861
  return list(self._rooms)[0]
862
+ if self.is_group_master:
863
+ return None
864
+ if (master_channel := self.group_master) is not None:
865
+ return master_channel.room
860
866
  return None
861
867
 
862
868
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic
3
- Version: 2025.8.6
3
+ Version: 2025.8.7
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>
@@ -49,9 +49,9 @@ Unlike pyhomematic, which required manual device mappings, aiohomematic automati
49
49
 
50
50
  ## Installation (with Home Assistant)
51
51
 
52
- Install via the custom component: [custom_homematic](https://github.com/sukramj/custom_homematic).
52
+ Install via the custom component: [Homematic(IP) Local](https://github.com/sukramj/homematicip_local).
53
53
 
54
- Follow the installation guide: https://github.com/sukramj/custom_homematic/wiki/Installation
54
+ Follow the installation guide: https://github.com/sukramj/homematicip_local/wiki/Installation
55
55
 
56
56
  ## Requirements
57
57
 
@@ -1,6 +1,6 @@
1
1
  aiohomematic/__init__.py,sha256=VoLXfPmEFWVOFseEusar-BcfKhQ8pBthrA7M6_QkWg8,1741
2
2
  aiohomematic/async_support.py,sha256=8KzftPu9CHRpxxXU8ElExYYadN9P6rSkMvLK5Ci2Xlo,5476
3
- aiohomematic/const.py,sha256=qT1lXjFm1WIemDsV5owjuml2GqOcFVSUrbwGHCFC8gE,23474
3
+ aiohomematic/const.py,sha256=xUZI-AezJlVJRt2QttEmCPocURyYjHmYFaMpLhT2RFw,23474
4
4
  aiohomematic/context.py,sha256=4CNoLd4PQ8MsLED_3D-Gcxo4h2UNlyQNd7QUE_0uvBA,253
5
5
  aiohomematic/converter.py,sha256=eZ3iQPCfYZwqxQgUy4q6aMne_Bay-27f1HQuMRdabZ4,2922
6
6
  aiohomematic/decorators.py,sha256=YD7zX9jBN-F-NdfKGNn0STqR6cndpoBCMuXaBvgvam4,7088
@@ -22,7 +22,7 @@ aiohomematic/client/xml_rpc.py,sha256=pUFdJZBtirNyNNyHbeMDOEh2mFkxQf_zrvjd56n1Lv
22
22
  aiohomematic/model/__init__.py,sha256=AbrppmY8X5rJkBV3c7Ggndk16Qvl-1S0uUWJqqxmXUE,5380
23
23
  aiohomematic/model/data_point.py,sha256=mMiUzGmZ_261iYV0FSCTCLGal7WTh69UqdMd_IfV0sg,39739
24
24
  aiohomematic/model/decorators.py,sha256=sIxYsoyIE9aqbbrAnuFSvebLhNZC_DaMlEOBe6T_fRA,6718
25
- aiohomematic/model/device.py,sha256=w6zWUFSI7yXbRyrFwfQxWzzk7kortIy8JhJGf7IG1fo,52435
25
+ aiohomematic/model/device.py,sha256=8lCCdiYLInlASFEZAHLxEWzxF60qvQ7XemUnBjBq8co,52741
26
26
  aiohomematic/model/event.py,sha256=4dVuW3IBXkXcYhJUBtV8ax8dq4krtomA0wxbvXPuNCc,6935
27
27
  aiohomematic/model/support.py,sha256=fXaGvD6ywaOmDihIAHjn-z3AuIn0Q3Wiq7EqcxUV6uc,19630
28
28
  aiohomematic/model/update.py,sha256=r7Swejskx2Gg0F3zKaiZv5dBIuG49ZhvE3GlDG4PHB4,4880
@@ -68,10 +68,10 @@ aiohomematic/rega_scripts/get_serial.fn,sha256=t1oeo-sB_EuVeiY24PLcxFSkdQVgEWGXz
68
68
  aiohomematic/rega_scripts/get_system_variable_descriptions.fn,sha256=UKXvC0_5lSApdQ2atJc0E5Stj5Zt3lqh0EcliokYu2c,849
69
69
  aiohomematic/rega_scripts/set_program_state.fn,sha256=0bnv7lUj8FMjDZBz325tDVP61m04cHjVj4kIOnUUgpY,279
70
70
  aiohomematic/rega_scripts/set_system_variable.fn,sha256=sTmr7vkPTPnPkor5cnLKlDvfsYRbGO1iq2z_2pMXq5E,383
71
- aiohomematic-2025.8.6.dist-info/licenses/LICENSE,sha256=4kjAuxWtZ7ln4Gj-i8ZxrHEyPijP_bfevH5wjQxntnU,1069
71
+ aiohomematic-2025.8.7.dist-info/licenses/LICENSE,sha256=cKEF-xEwJKQt28HpA6ppSzyqUJ6QF9g5OLacWMCuz8s,1078
72
72
  aiohomematic_support/__init__.py,sha256=_0YtF4lTdC_k6-zrM2IefI0u0LMr_WA61gXAyeGLgbY,66
73
73
  aiohomematic_support/client_local.py,sha256=cvkO3tcxSJKy5ZLVdeqDbvSmeottxqZJNI4ccdxIVD4,12524
74
- aiohomematic-2025.8.6.dist-info/METADATA,sha256=Tzr48xIbtwyYn6YAreZC9k9Ri9x4F0ErG0erow_58zI,3244
75
- aiohomematic-2025.8.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
- aiohomematic-2025.8.6.dist-info/top_level.txt,sha256=5TDRlUWQPThIUwQjOj--aUo4UA-ow4m0sNhnoCBi5n8,34
77
- aiohomematic-2025.8.6.dist-info/RECORD,,
74
+ aiohomematic-2025.8.7.dist-info/METADATA,sha256=7xFvDIMiRUkngGNYu4imUy23MU0Z58e6lIN4ZohRKxA,3249
75
+ aiohomematic-2025.8.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
+ aiohomematic-2025.8.7.dist-info/top_level.txt,sha256=5TDRlUWQPThIUwQjOj--aUo4UA-ow4m0sNhnoCBi5n8,34
77
+ aiohomematic-2025.8.7.dist-info/RECORD,,
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Daniel Perna
3
+ Copyright (c) 2021 Daniel Perna, SukramJ
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal