aioccl 2024.7.3__tar.gz → 2024.7.5__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.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
@@ -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."""
@@ -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
@@ -1,7 +1,7 @@
1
1
  from pathlib import Path
2
2
  from setuptools import find_packages, setup
3
3
 
4
- VERSION = "2024.7.3"
4
+ VERSION = "2024.7.5"
5
5
 
6
6
  ROOT_DIR = Path(__file__).parent.resolve()
7
7
 
File without changes
File without changes
File without changes
File without changes
File without changes