PyViCare 2.43.0__tar.gz → 2.44.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.
Files changed (28) hide show
  1. {pyvicare-2.43.0 → pyvicare-2.44.0}/PKG-INFO +1 -1
  2. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareAbstractOAuthManager.py +1 -1
  3. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareGazBoiler.py +4 -4
  4. {pyvicare-2.43.0 → pyvicare-2.44.0}/pyproject.toml +2 -2
  5. {pyvicare-2.43.0 → pyvicare-2.44.0}/LICENSE +0 -0
  6. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/Feature.py +0 -0
  7. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCare.py +0 -0
  8. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareBrowserOAuthManager.py +0 -0
  9. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareCachedService.py +0 -0
  10. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareDevice.py +0 -0
  11. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareDeviceConfig.py +0 -0
  12. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareElectricalEnergySystem.py +0 -0
  13. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareFuelCell.py +0 -0
  14. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareGateway.py +0 -0
  15. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareHeatCurveCalculation.py +0 -0
  16. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareHeatPump.py +0 -0
  17. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareHeatingDevice.py +0 -0
  18. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareHybrid.py +0 -0
  19. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareOAuthManager.py +0 -0
  20. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareOilBoiler.py +0 -0
  21. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCarePelletsBoiler.py +0 -0
  22. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareRadiatorActuator.py +0 -0
  23. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareRoomSensor.py +0 -0
  24. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareService.py +0 -0
  25. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareUtils.py +0 -0
  26. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/PyViCareVentilationDevice.py +0 -0
  27. {pyvicare-2.43.0 → pyvicare-2.44.0}/PyViCare/__init__.py +0 -0
  28. {pyvicare-2.43.0 → pyvicare-2.44.0}/README.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PyViCare
3
- Version: 2.43.0
3
+ Version: 2.44.0
4
4
  Summary: Library to communicate with the Viessmann ViCare API.
5
5
  License: Apache-2.0
6
6
  Keywords: viessmann,vicare,api
@@ -13,7 +13,7 @@ from PyViCare.PyViCareUtils import (PyViCareCommandError,
13
13
  logger = logging.getLogger('ViCare')
14
14
  logger.addHandler(logging.NullHandler())
15
15
 
16
- API_BASE_URL = 'https://api.viessmann.com/iot/v1'
16
+ API_BASE_URL = 'https://api.viessmann.com/iot/v2'
17
17
 
18
18
 
19
19
  class AbstractViCareOAuthManager:
@@ -151,7 +151,7 @@ class GazBoiler(HeatingDevice):
151
151
  # Gas consumption for Heating data:
152
152
  @handleNotSupported
153
153
  def getGasSummaryConsumptionHeatingUnit(self):
154
- return self.service.getProperty("heating.gas.consumption.summary.heating")["properties"]["day"]["unit"]
154
+ return self.service.getProperty("heating.gas.consumption.summary.heating")["properties"]["currentDay"]["unit"]
155
155
 
156
156
  @handleNotSupported
157
157
  def getGasSummaryConsumptionHeatingCurrentDay(self):
@@ -180,7 +180,7 @@ class GazBoiler(HeatingDevice):
180
180
  # Gas consumption for Domestic Hot Water data:
181
181
  @handleNotSupported
182
182
  def getGasSummaryConsumptionDomesticHotWaterUnit(self):
183
- return self.service.getProperty("heating.gas.consumption.summary.dhw")["properties"]["unit"]["value"]
183
+ return self.service.getProperty("heating.gas.consumption.summary.dhw")["properties"]["currentDay"]["unit"]
184
184
 
185
185
  @handleNotSupported
186
186
  def getGasSummaryConsumptionDomesticHotWaterCurrentDay(self):
@@ -209,7 +209,7 @@ class GazBoiler(HeatingDevice):
209
209
  # Power consumption for Heating:
210
210
  @handleNotSupported
211
211
  def getPowerSummaryConsumptionHeatingUnit(self):
212
- return self.service.getProperty("heating.power.consumption.summary.heating")["properties"]["day"]["unit"]
212
+ return self.service.getProperty("heating.power.consumption.summary.heating")["properties"]["currentDay"]["unit"]
213
213
 
214
214
  @handleNotSupported
215
215
  def getPowerSummaryConsumptionHeatingCurrentDay(self):
@@ -238,7 +238,7 @@ class GazBoiler(HeatingDevice):
238
238
  # Power consumption for Domestic Hot Water:
239
239
  @handleNotSupported
240
240
  def getPowerSummaryConsumptionDomesticHotWaterUnit(self):
241
- return self.service.getProperty("heating.power.consumption.summary.dhw")["properties"]["day"]["unit"]
241
+ return self.service.getProperty("heating.power.consumption.summary.dhw")["properties"]["currentDay"]["unit"]
242
242
 
243
243
  @handleNotSupported
244
244
  def getPowerSummaryConsumptionDomesticHotWaterCurrentDay(self):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PyViCare"
3
- version = "2.43.0"
3
+ version = "2.44.0"
4
4
  description = "Library to communicate with the Viessmann ViCare API."
5
5
  authors = [
6
6
  "Simon Gillet <mail+pyvicare@gillet.ninja>"
@@ -52,7 +52,7 @@ mypy = "^1.11.2"
52
52
  pylint = "^3.2.6"
53
53
  pytest = "^8.3.2"
54
54
  pytest-cov = "^6.0.0"
55
- ruff = "^0.9.0"
55
+ ruff = "^0.11.0"
56
56
  types-deprecated = "^1.2.15.20241117"
57
57
  types-requests = ">=2.31"
58
58
 
File without changes
File without changes
File without changes