gazpar2haws 0.3.0b24__tar.gz → 0.3.0b27__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [0.3.0] - 2025-02-02
8
+ ## [0.3.0] - 2025-02-15
9
9
 
10
10
  ### Added
11
11
 
12
12
  [#31](https://github.com/ssenart/gazpar2haws/issues/31): Cost integration.
13
13
 
14
+ ### Changed
15
+
16
+ [#60](https://github.com/ssenart/gazpar2haws/issues/60): Upgrade PyGazpar library version to 1.3.0.
17
+
14
18
  ## [0.2.1] - 2025-01-24
15
19
 
16
20
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gazpar2haws
3
- Version: 0.3.0b24
3
+ Version: 0.3.0b27
4
4
  Summary: Gazpar2HAWS is a gateway that reads data history from the GrDF (French gas provider) meter and send it to Home Assistant using WebSocket interface
5
5
  License: MIT License
6
6
 
@@ -24,14 +24,14 @@ License: MIT License
24
24
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
25
  SOFTWARE.
26
26
  Author: Stéphane Senart
27
- Requires-Python: >=3.9
28
- Classifier: Programming Language :: Python :: 3.9
27
+ Requires-Python: >=3.10
29
28
  Classifier: Programming Language :: Python :: 3.10
30
29
  Classifier: Programming Language :: Python :: 3.11
31
30
  Classifier: Programming Language :: Python :: 3.12
31
+ Classifier: Programming Language :: Python :: 3.13
32
32
  Requires-Dist: pydantic-extra-types (>=2.10.2,<3.0.0)
33
33
  Requires-Dist: pydantic[email] (>=2.10.6,<3.0.0)
34
- Requires-Dist: pygazpar (>=1.2.7)
34
+ Requires-Dist: pygazpar (>=1.3.0b4)
35
35
  Requires-Dist: pyyaml (>=6.0.2)
36
36
  Requires-Dist: websockets (>=14.1)
37
37
  Description-Content-Type: text/markdown
@@ -1,6 +1,7 @@
1
1
  import argparse
2
2
  import asyncio
3
3
  import logging
4
+ import sys
4
5
  import traceback
5
6
 
6
7
  from gazpar2haws import __version__
@@ -40,6 +41,7 @@ async def main():
40
41
  config = Configuration.load(args.config, args.secrets)
41
42
 
42
43
  print(f"Gazpar2HAWS version: {__version__}")
44
+ print(f"Running on Python version: {sys.version}")
43
45
 
44
46
  # Set up logging
45
47
  logging_file = config.logging.file
@@ -73,6 +75,7 @@ async def main():
73
75
  logging.getLogger().addHandler(console_handler)
74
76
 
75
77
  Logger.info(f"Starting Gazpar2HAWS version {__version__}")
78
+ Logger.info(f"Running on Python version: {sys.version}")
76
79
 
77
80
  # Log configuration
78
81
  Logger.info(f"Configuration:\n{config.dumps()}")
@@ -209,10 +209,10 @@ class Gazpar:
209
209
  client = pygazpar.Client(data_source)
210
210
 
211
211
  try:
212
- history = client.loadDateRange(
213
- pceIdentifier=self._pce_identifier,
214
- startDate=start_date,
215
- endDate=end_date,
212
+ history = client.load_date_range(
213
+ pce_identifier=self._pce_identifier,
214
+ start_date=start_date,
215
+ end_date=end_date,
216
216
  frequencies=[pygazpar.Frequency.DAILY],
217
217
  )
218
218
 
@@ -1,21 +1,21 @@
1
1
  [project]
2
2
  name = "gazpar2haws"
3
- version = "0.3.0b24"
3
+ version = "0.3.0b27"
4
4
  description = "Gazpar2HAWS is a gateway that reads data history from the GrDF (French gas provider) meter and send it to Home Assistant using WebSocket interface"
5
5
  license = { file = "LICENSE" }
6
6
  readme = "README.md"
7
- requires-python = ">=3.9"
7
+ requires-python = ">=3.10"
8
8
  authors = [
9
9
  { name = "Stéphane Senart" }
10
10
  ]
11
11
  classifiers = [
12
- "Programming Language :: Python :: 3.9",
13
12
  "Programming Language :: Python :: 3.10",
14
13
  "Programming Language :: Python :: 3.11",
15
14
  "Programming Language :: Python :: 3.12",
15
+ "Programming Language :: Python :: 3.13",
16
16
  ]
17
17
  dependencies = [
18
- "pygazpar>=1.2.7",
18
+ "pygazpar>=1.3.0b4",
19
19
  "websockets>=14.1",
20
20
  "pyyaml>=6.0.2",
21
21
  "pydantic[email] (>=2.10.6,<3.0.0)",
File without changes
File without changes