aioccl 2024.12.6__tar.gz → 2024.12.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioccl
3
- Version: 2024.12.6
3
+ Version: 2024.12.7
4
4
  Summary: A Python library for CCL API server
5
5
  Home-page: https://github.com/fkiscd/aioccl
6
6
  Download-URL: https://github.com/fkiscd/aioccl
@@ -27,8 +27,7 @@ class CCLDevice:
27
27
  _passkey = ''
28
28
  _sensors: dict[str, CCLSensor] | None = {}
29
29
  _serial_no: str | None = None
30
- _update_callbacks = set()
31
-
30
+ _update_callbacks = set()
32
31
 
33
32
  def __init__(self, passkey: str):
34
33
  """Initialize a CCL device."""
@@ -34,7 +34,7 @@ class CCLSensor:
34
34
  @property
35
35
  def compartment(self) -> None | str:
36
36
  """Decide which compartment it belongs to."""
37
- if isinstance(CCL_SENSORS[self._key].compartment, CCLDeviceCompartment):
37
+ if CCL_SENSORS[self._key].compartment in CCLDeviceCompartment:
38
38
  return CCL_SENSORS[self._key].compartment.value
39
39
  return None
40
40
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioccl
3
- Version: 2024.12.6
3
+ Version: 2024.12.7
4
4
  Summary: A Python library for CCL API server
5
5
  Home-page: https://github.com/fkiscd/aioccl
6
6
  Download-URL: https://github.com/fkiscd/aioccl
@@ -3,7 +3,7 @@
3
3
  from pathlib import Path
4
4
  from setuptools import find_packages, setup
5
5
 
6
- VERSION = "2024.12.6"
6
+ VERSION = "2024.12.7"
7
7
 
8
8
  ROOT_DIR = Path(__file__).parent.resolve()
9
9
 
File without changes
File without changes
File without changes
File without changes