gazpar2haws 0.1.2__py3-none-any.whl → 0.1.4__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.
- CHANGELOG.md +16 -0
- gazpar2haws/haws.py +1 -1
- {gazpar2haws-0.1.2.dist-info → gazpar2haws-0.1.4.dist-info}/METADATA +2 -2
- {gazpar2haws-0.1.2.dist-info → gazpar2haws-0.1.4.dist-info}/RECORD +6 -6
- {gazpar2haws-0.1.2.dist-info → gazpar2haws-0.1.4.dist-info}/LICENSE +0 -0
- {gazpar2haws-0.1.2.dist-info → gazpar2haws-0.1.4.dist-info}/WHEEL +0 -0
CHANGELOG.md
CHANGED
@@ -1,15 +1,30 @@
|
|
1
1
|
# Changelog
|
2
|
+
|
2
3
|
All notable changes to this project will be documented in this file.
|
3
4
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
7
|
|
8
|
+
## [0.1.4] - 2025-01-04
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
[#13](https://github.com/ssenart/gazpar2haws/issues/13): Using HassIO, connection to the supervisor requires Authorization header.
|
13
|
+
|
14
|
+
## [0.1.3] - 2025-01-03
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
[#11](https://github.com/ssenart/gazpar2haws/issues/11): Upgrade PyGazpar version to 1.2.6.
|
19
|
+
|
7
20
|
## [0.1.2] - 2024-12-30
|
8
21
|
|
9
22
|
### Added
|
23
|
+
|
10
24
|
[#2](https://github.com/ssenart/gazpar2haws/issues/2): DockerHub deployment.
|
11
25
|
|
12
26
|
### Fixed
|
27
|
+
|
13
28
|
[#9](https://github.com/ssenart/gazpar2haws/issues/9): Incorrect timezone info creates duplicate import.
|
14
29
|
|
15
30
|
[#6](https://github.com/ssenart/gazpar2haws/issues/6): The last meter value may be imported multiple times and cause the today value being wrong.
|
@@ -19,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
19
34
|
## [0.1.1] - 2024-12-22
|
20
35
|
|
21
36
|
### Added
|
37
|
+
|
22
38
|
[#1](https://github.com/ssenart/gazpar2haws/issues/1): Publish energy indicator in kWh.
|
23
39
|
|
24
40
|
## [0.1.0] - 2024-12-21
|
gazpar2haws/haws.py
CHANGED
@@ -23,7 +23,7 @@ class HomeAssistantWS:
|
|
23
23
|
ws_url = f"ws://{self._host}:{self._port}/api/websocket"
|
24
24
|
|
25
25
|
# Connect to the websocket
|
26
|
-
self._websocket = await websockets.connect(ws_url)
|
26
|
+
self._websocket = await websockets.connect(ws_url, additional_headers={"Authorization": f"Bearer {self._token}"})
|
27
27
|
|
28
28
|
# When a client connects to the server, the server sends out auth_required.
|
29
29
|
connect_response = await self._websocket.recv()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: gazpar2haws
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
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
|
6
6
|
Author: Stéphane Senart
|
@@ -9,7 +9,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
12
|
-
Requires-Dist: pygazpar (
|
12
|
+
Requires-Dist: pygazpar (>=1.2.6,<2.0.0)
|
13
13
|
Requires-Dist: pytest-asyncio (>=0.25.0,<0.26.0)
|
14
14
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
15
15
|
Requires-Dist: websockets (>=14.1,<15.0)
|
@@ -1,12 +1,12 @@
|
|
1
|
-
CHANGELOG.md,sha256=
|
1
|
+
CHANGELOG.md,sha256=rJ34Mjzu0OCixt6W6jWd1HkkROrbp2r7NGJY7DgU6iQ,1265
|
2
2
|
gazpar2haws/__init__.py,sha256=yzol8uZSBI7pIRGUmYJ6-vRBwkM4MI3IGf5cQpNsaFw,57
|
3
3
|
gazpar2haws/__main__.py,sha256=g8xk0x_kprBHKHLzgf9y9EY2_gKC9V3k4z0n-EDTd-I,3253
|
4
4
|
gazpar2haws/bridge.py,sha256=TiPmvRBxzgwOKKmWNXMOaP0pLg-Wls_SmiwHczNEM_4,3466
|
5
5
|
gazpar2haws/config_utils.py,sha256=D0lu-3KY-vLEyD2vDN05UABkMnpMJjqw1RuDJVrkGFs,2123
|
6
6
|
gazpar2haws/gazpar.py,sha256=8yrMzs9HfMSgq3HPeJs64SHWb5RWm7ZL3tgfzhlwHFQ,5754
|
7
|
-
gazpar2haws/haws.py,sha256=
|
7
|
+
gazpar2haws/haws.py,sha256=5UZ41ngiXkq9gvC9GJZI1XSsYF6MaKXNRgbZj5LgPeU,6828
|
8
8
|
gazpar2haws/version.py,sha256=ebdTNl4h0hNKmN3Gbs592VJsYbMmrkB47WyZMJevaQo,86
|
9
|
-
gazpar2haws-0.1.
|
10
|
-
gazpar2haws-0.1.
|
11
|
-
gazpar2haws-0.1.
|
12
|
-
gazpar2haws-0.1.
|
9
|
+
gazpar2haws-0.1.4.dist-info/LICENSE,sha256=G6JttcnlwcRHYzIcDflSGOVrHTtaP3BEegM2lH00xHw,1094
|
10
|
+
gazpar2haws-0.1.4.dist-info/METADATA,sha256=c9E3T2jPhV38m_Z9Wg5h9ExqoPk_pHqa02dFH7KPn8M,7366
|
11
|
+
gazpar2haws-0.1.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
12
|
+
gazpar2haws-0.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|