aioccl 2024.7.4__py3-none-any.whl → 2024.7.6__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/device.py CHANGED
@@ -80,12 +80,12 @@ class CCLDevice:
80
80
  else:
81
81
  if not self._sensors.get(key):
82
82
  self._sensors[key] = CCLSensor(key)
83
- self._new_sensors.append(self.sensors[key])
83
+ self._new_sensors.append(self._sensors[key])
84
84
  self._sensors[key].value = value
85
85
  self._publish_new_sensors()
86
86
  self._publish_updates()
87
87
  self._last_updated_time = time.monotonic()
88
- _LOGGER.debug("Sensors Updated: %s", self.last_updated_time)
88
+ _LOGGER.debug("Sensors Updated: %s", self._last_updated_time)
89
89
 
90
90
  def register_update_cb(self, callback: Callable[[], None]) -> None:
91
91
  """Register callback, called when Sensor changes state."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioccl
3
- Version: 2024.7.4
3
+ Version: 2024.7.6
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
@@ -0,0 +1,9 @@
1
+ aioccl/__init__.py,sha256=iL1OC2F_rf3qkswi-bO8Y_uj2-lf284LCnyxwqdLUU8,137
2
+ aioccl/device.py,sha256=cRqMlkmprkPWdBVSEGGMyHB7GG1MrLaD3-n9FzvzITs,4383
3
+ aioccl/sensor.py,sha256=wDCfGeQnk1FSH7gsM-85vU1-O1j0WDh3hScHRN1agM8,4244
4
+ aioccl/server.py,sha256=JPwhjp7pzQnm7J2RcHh3GiaqBc-jkRH2mQA4KHJzm28,3669
5
+ aioccl-2024.7.6.dist-info/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
6
+ aioccl-2024.7.6.dist-info/METADATA,sha256=olbnS5Y5Xw2_X9vliqZ7yIndWSuzeKUkZAyBNDLdQHw,769
7
+ aioccl-2024.7.6.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
8
+ aioccl-2024.7.6.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
9
+ aioccl-2024.7.6.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- aioccl/__init__.py,sha256=iL1OC2F_rf3qkswi-bO8Y_uj2-lf284LCnyxwqdLUU8,137
2
- aioccl/device.py,sha256=jlldBI1oaK4KkHqmYhUcLfkreReS1C7BjtxwBtQuLBU,4381
3
- aioccl/sensor.py,sha256=wDCfGeQnk1FSH7gsM-85vU1-O1j0WDh3hScHRN1agM8,4244
4
- aioccl/server.py,sha256=JPwhjp7pzQnm7J2RcHh3GiaqBc-jkRH2mQA4KHJzm28,3669
5
- aioccl-2024.7.4.dist-info/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
6
- aioccl-2024.7.4.dist-info/METADATA,sha256=PLAnnuHtR15l8zqpaUE_Hn_YuLgvEI0Lw1QgAIXc7j4,769
7
- aioccl-2024.7.4.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
8
- aioccl-2024.7.4.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
9
- aioccl-2024.7.4.dist-info/RECORD,,