aioccl 2025.6.2__py3-none-any.whl → 2025.6.3__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.
- aioccl/server.py +1 -1
- {aioccl-2025.6.2.dist-info → aioccl-2025.6.3.dist-info}/METADATA +1 -1
- aioccl-2025.6.3.dist-info/RECORD +10 -0
- aioccl-2025.6.2.dist-info/RECORD +0 -10
- {aioccl-2025.6.2.dist-info → aioccl-2025.6.3.dist-info}/WHEEL +0 -0
- {aioccl-2025.6.2.dist-info → aioccl-2025.6.3.dist-info}/licenses/LICENSE +0 -0
- {aioccl-2025.6.2.dist-info → aioccl-2025.6.3.dist-info}/top_level.txt +0 -0
aioccl/server.py
CHANGED
@@ -24,7 +24,7 @@ class CCLServer:
|
|
24
24
|
@staticmethod
|
25
25
|
def register(device: CCLDevice) -> None:
|
26
26
|
"""Register a device with a passkey."""
|
27
|
-
if CCLServer.devices
|
27
|
+
if CCLServer.devices.get(device.passkey, None) is not None:
|
28
28
|
raise CCLDeviceRegistrationException("Device already exists")
|
29
29
|
CCLServer.devices[device.passkey] = device
|
30
30
|
_LOGGER.debug("Device registered: %s", device.passkey)
|
@@ -0,0 +1,10 @@
|
|
1
|
+
aioccl/__init__.py,sha256=XnegKtbvHvUTwVuuWNLb4LB9ZuGGar0xrZYOqk7scyg,133
|
2
|
+
aioccl/device.py,sha256=G05eKu-OIZELYo6HMEVsUeQtzPmL4beO547YvQ5RygM,5178
|
3
|
+
aioccl/exception.py,sha256=iTukjNcnVXVhGV_sMGj2D1jzjVXB0qcyOlX2vB8G4AY,211
|
4
|
+
aioccl/sensor.py,sha256=lNmq5OPvtfItH-dfEdYXhctPITHr6fYLDM6oyTNcCZU,16304
|
5
|
+
aioccl/server.py,sha256=W8OL64dAi2WAeS4isx8usAG-9D3q4mBIl9pxxb4Iuhw,3573
|
6
|
+
aioccl-2025.6.3.dist-info/licenses/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
|
7
|
+
aioccl-2025.6.3.dist-info/METADATA,sha256=u0o3LsR-N8fEWZFu41XDoHKSZ_PNRVhV5CgvBlh_N40,991
|
8
|
+
aioccl-2025.6.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
aioccl-2025.6.3.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
|
10
|
+
aioccl-2025.6.3.dist-info/RECORD,,
|
aioccl-2025.6.2.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
aioccl/__init__.py,sha256=XnegKtbvHvUTwVuuWNLb4LB9ZuGGar0xrZYOqk7scyg,133
|
2
|
-
aioccl/device.py,sha256=G05eKu-OIZELYo6HMEVsUeQtzPmL4beO547YvQ5RygM,5178
|
3
|
-
aioccl/exception.py,sha256=iTukjNcnVXVhGV_sMGj2D1jzjVXB0qcyOlX2vB8G4AY,211
|
4
|
-
aioccl/sensor.py,sha256=lNmq5OPvtfItH-dfEdYXhctPITHr6fYLDM6oyTNcCZU,16304
|
5
|
-
aioccl/server.py,sha256=1jTauV6nsgmUI2WOJakiUMpZCPNuKslxEe9_izNIomI,3563
|
6
|
-
aioccl-2025.6.2.dist-info/licenses/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
|
7
|
-
aioccl-2025.6.2.dist-info/METADATA,sha256=RNhrl1Q-LfC_-B0EsNp88TOk431FLcMjIkuYXAKFOik,991
|
8
|
-
aioccl-2025.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
aioccl-2025.6.2.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
|
10
|
-
aioccl-2025.6.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|