python-homewizard-energy 6.1.0__tar.gz → 6.2.0__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: python-homewizard-energy
3
- Version: 6.1.0
3
+ Version: 6.2.0
4
4
  Summary: Asynchronous Python client for the HomeWizard Energy
5
5
  Home-page: https://github.com/homewizard/python-homewizard-energy
6
6
  License: Apache-2.0
@@ -43,7 +43,7 @@ PRODUCTS = {
43
43
  ),
44
44
  Product(
45
45
  "HWE-SKT",
46
- "Energy Socket",
46
+ "Wi-Fi Energy Socket",
47
47
  "https://www.homewizard.com/energy-socket/",
48
48
  "Measure and switch every device.",
49
49
  ),
@@ -55,25 +55,25 @@ PRODUCTS = {
55
55
  ),
56
56
  Product(
57
57
  "HWE-KWH1",
58
- "Wi-Fi kWh meter 1-phase",
58
+ "Wi-Fi kWh Meter 1-phase",
59
59
  "https://www.homewizard.com/kwh-meter/",
60
60
  "Measure solar panels, car chargers and more.",
61
61
  ),
62
62
  Product(
63
63
  "HWE-KWH3",
64
- "Wi-Fi kWh meter 3-phase",
64
+ "Wi-Fi kWh Meter 3-phase",
65
65
  "https://www.homewizard.com/kwh-meter/",
66
66
  "Measure solar panels, car chargers and more.",
67
67
  ),
68
68
  Product(
69
69
  "SDM230-wifi",
70
- "Wi-Fi kWh meter 1-phase",
70
+ "Wi-Fi kWh Meter 1-phase",
71
71
  "https://www.homewizard.com/kwh-meter/",
72
72
  "Measure solar panels, car chargers and more.",
73
73
  ),
74
74
  Product(
75
75
  "SDM630-wifi",
76
- "Wi-Fi kWh meter 3-phase",
76
+ "Wi-Fi kWh Meter 3-phase",
77
77
  "https://www.homewizard.com/kwh-meter/",
78
78
  "Measure solar panels, car chargers and more.",
79
79
  ),
@@ -169,11 +169,11 @@ class HomeWizardEnergy:
169
169
  _LOGGER.debug("%s, %s", resp.status, await resp.text("utf-8"))
170
170
  except asyncio.TimeoutError as exception:
171
171
  raise RequestError(
172
- "Timeout occurred while connecting to the HomeWizard Energy device"
172
+ f"Timeout occurred while connecting to the HomeWizard Energy device at {self.host}"
173
173
  ) from exception
174
174
  except (ClientError, ClientResponseError) as exception:
175
175
  raise RequestError(
176
- "Error occurred while communicating with the HomeWizard Energy device"
176
+ f"Error occurred while communicating with the HomeWizard Energy device at {self.host}"
177
177
  ) from exception
178
178
 
179
179
  if resp.status == HTTPStatus.FORBIDDEN:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-homewizard-energy"
3
- version = "6.1.0"
3
+ version = "6.2.0"
4
4
  description = "Asynchronous Python client for the HomeWizard Energy"
5
5
  authors = ["DCSBL"]
6
6
  maintainers = ["DCSBL"]
@@ -31,7 +31,7 @@ pre-commit = "^3.7.1"
31
31
  pre-commit-hooks = "^4.6.0"
32
32
  pylint = "^3.1.0"
33
33
  pytest = "^7.4.4"
34
- pytest-asyncio = "^0.23.7"
34
+ pytest-asyncio = "^0.23.8"
35
35
  pytest-cov = "^5.0.0"
36
36
  yamllint = "^1.35.1"
37
37
  pyupgrade = "^3.16.0"