aioccl 2024.7.3__py3-none-any.whl → 2024.7.5__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
@@ -85,7 +85,7 @@ class CCLDevice:
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."""
aioccl/sensor.py CHANGED
@@ -63,9 +63,11 @@ class CCLSensorTypes(enum.Enum):
63
63
  CCL_CH_SENSOR_TYPES: list[str] = [None, None, 'Thermo-Hygro', 'Pool', 'Soil']
64
64
 
65
65
  CCL_SENSORS: dict[str, CCLSensorPreset] = {
66
- 'rbar': CCLSensorPreset('Air Pressure', CCLSensorTypes.PRESSURE),
66
+ 'rbar': CCLSensorPreset('Relative Pressure', CCLSensorTypes.PRESSURE),
67
+ 'abar': CCLSensorPreset('Absolute Pressure', CCLSensorTypes.PRESSURE),
67
68
  'intem': CCLSensorPreset('Indoor Temperature', CCLSensorTypes.TEMPERATURE),
68
69
  'inhum': CCLSensorPreset('Indoor Humidity', CCLSensorTypes.HUMIDITY),
70
+ 'inbat': CCLSensorPreset('Console Battery', CCLSensorTypes.BATTERY_BINARY, True),
69
71
  't1tem': CCLSensorPreset('Outdoor Temperature', CCLSensorTypes.TEMPERATURE),
70
72
  't1hum': CCLSensorPreset('Outdoor Humidity', CCLSensorTypes.HUMIDITY),
71
73
  't1wdir': CCLSensorPreset('Wind Direction', CCLSensorTypes.WIND_DIRECITON),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioccl
3
- Version: 2024.7.3
3
+ Version: 2024.7.5
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=1dQ8A9k9fUmNwSrHJdD9nRFKfjpFtNF9ww52ggeoojg,4382
3
+ aioccl/sensor.py,sha256=wDCfGeQnk1FSH7gsM-85vU1-O1j0WDh3hScHRN1agM8,4244
4
+ aioccl/server.py,sha256=JPwhjp7pzQnm7J2RcHh3GiaqBc-jkRH2mQA4KHJzm28,3669
5
+ aioccl-2024.7.5.dist-info/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
6
+ aioccl-2024.7.5.dist-info/METADATA,sha256=Xah0m_E7NanOixqkKQ3bCAFMty2MTfv7dH_P6UNTS_k,769
7
+ aioccl-2024.7.5.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
8
+ aioccl-2024.7.5.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
9
+ aioccl-2024.7.5.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=DrWGJGx_po_JCrigW3e_L1DojxyPhf8OHSzkQP01Tgg,4078
4
- aioccl/server.py,sha256=JPwhjp7pzQnm7J2RcHh3GiaqBc-jkRH2mQA4KHJzm28,3669
5
- aioccl-2024.7.3.dist-info/LICENSE,sha256=PBRsTHchx7o0TQ2R2ktEAfFmn1iNHTxcOP_xaeuSAuo,11349
6
- aioccl-2024.7.3.dist-info/METADATA,sha256=kTHwXz6oB-3l3lqIeWFU5nnHAknWNp3OT8o-L02_aLA,769
7
- aioccl-2024.7.3.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
8
- aioccl-2024.7.3.dist-info/top_level.txt,sha256=-xIJfyfXTaW_EH7XCIHyxjSSSwjLmawa2qhsrHZH1vA,7
9
- aioccl-2024.7.3.dist-info/RECORD,,