PyViCare 2.55.0__tar.gz → 2.55.1__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 (30) hide show
  1. {pyvicare-2.55.0 → pyvicare-2.55.1}/PKG-INFO +1 -1
  2. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareHeatPump.py +100 -4
  3. {pyvicare-2.55.0 → pyvicare-2.55.1}/pyproject.toml +1 -1
  4. {pyvicare-2.55.0 → pyvicare-2.55.1}/LICENSE +0 -0
  5. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/Feature.py +0 -0
  6. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCare.py +0 -0
  7. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareAbstractOAuthManager.py +0 -0
  8. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareBrowserOAuthManager.py +0 -0
  9. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareCachedService.py +0 -0
  10. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareDevice.py +0 -0
  11. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareDeviceConfig.py +0 -0
  12. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareElectricalEnergySystem.py +0 -0
  13. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareFloorHeating.py +0 -0
  14. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareFuelCell.py +0 -0
  15. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareGateway.py +0 -0
  16. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareGazBoiler.py +0 -0
  17. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareHeatCurveCalculation.py +0 -0
  18. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareHeatingDevice.py +0 -0
  19. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareHybrid.py +0 -0
  20. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareOAuthManager.py +0 -0
  21. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareOilBoiler.py +0 -0
  22. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCarePelletsBoiler.py +0 -0
  23. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareRadiatorActuator.py +0 -0
  24. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareRepeater.py +0 -0
  25. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareRoomSensor.py +0 -0
  26. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareService.py +0 -0
  27. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareUtils.py +0 -0
  28. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/PyViCareVentilationDevice.py +0 -0
  29. {pyvicare-2.55.0 → pyvicare-2.55.1}/PyViCare/__init__.py +0 -0
  30. {pyvicare-2.55.0 → pyvicare-2.55.1}/README.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyViCare
3
- Version: 2.55.0
3
+ Version: 2.55.1
4
4
  Summary: Library to communicate with the Viessmann ViCare API.
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -392,43 +392,91 @@ class Compressor(HeatingDeviceWithComponent):
392
392
  def getPowerConsumptionTotalUnit(self) -> str:
393
393
  return str(self.getProperty(f"heating.compressors.{self.compressor}.power.consumption.total")["properties"]["year"]["unit"])
394
394
 
395
+ #TODO: remove deprecated method in 03.2026 release
395
396
  @handleNotSupported
397
+ @deprecated(reason="renamed, use getOutletPressureUnit", version="2.55.1")
396
398
  def getCompressorOutletPressureUnit(self) -> str:
399
+ return str(self.getOutletPressureUnit())
400
+
401
+ @handleNotSupported
402
+ def getOutletPressureUnit(self) -> str:
397
403
  # Shows the unit of measurement of the outlet pressure.
398
404
  return str(self.getProperty(f"heating.compressors.{self.compressor}.sensors.pressure.outlet")["properties"]["value"]["unit"])
399
405
 
406
+ #TODO: remove deprecated method in 03.2026 release
400
407
  @handleNotSupported
408
+ @deprecated(reason="renamed, use getOutletPressure", version="2.55.1")
401
409
  def getCompressorOutletPressure(self) -> float:
410
+ return float(self.getOutletPressure())
411
+
412
+ @handleNotSupported
413
+ def getOutletPressure(self) -> float:
402
414
  # Shows the outlet pressure of the compressor.
403
415
  return float(self.getProperty(f"heating.compressors.{self.compressor}.sensors.pressure.outlet")["properties"]["value"]["value"])
404
416
 
417
+ #TODO: remove deprecated method in 03.2026 release
405
418
  @handleNotSupported
419
+ @deprecated(reason="renamed, use getInletPressureUnit", version="2.55.1")
406
420
  def getCompressorInletPressureUnit(self) -> str:
421
+ return str(self.getInletPressureUnit())
422
+
423
+ @handleNotSupported
424
+ def getInletPressureUnit(self) -> str:
407
425
  # Shows the unit of measurement of the inlet pressure.
408
426
  return str(self.getProperty(f"heating.compressors.{self.compressor}.sensors.pressure.inlet")["properties"]["value"]["unit"])
409
427
 
428
+ #TODO: remove deprecated method in 03.2026 release
410
429
  @handleNotSupported
430
+ @deprecated(reason="renamed, use getInletPressure", version="2.55.1")
411
431
  def getCompressorInletPressure(self) -> float:
432
+ return float(self.getInletPressure())
433
+
434
+ @handleNotSupported
435
+ def getInletPressure(self) -> float:
412
436
  # Shows the inlet pressure of the compressor.
413
437
  return float(self.getProperty(f"heating.compressors.{self.compressor}.sensors.pressure.inlet")["properties"]["value"]["value"])
414
438
 
439
+ #TODO: remove deprecated method in 03.2026 release
415
440
  @handleNotSupported
441
+ @deprecated(reason="renamed, use getOutletTemperatureUnit", version="2.55.1")
416
442
  def getCompressorOutletTemperatureUnit(self) -> str:
443
+ return str(self.getOutletTemperatureUnit())
444
+
445
+ @handleNotSupported
446
+ def getOutletTemperatureUnit(self) -> str:
417
447
  # Shows the unit of measurement of the outlet temperature.
418
448
  return str(self.getProperty(f"heating.compressors.{self.compressor}.sensors.temperature.outlet")["properties"]["value"]["unit"])
419
449
 
450
+ #TODO: remove deprecated method in 03.2026 release
420
451
  @handleNotSupported
452
+ @deprecated(reason="renamed, use getOutletTemperature", version="2.55.1")
421
453
  def getCompressorOutletTemperature(self) -> float:
454
+ return float(self.getOutletTemperature())
455
+
456
+ @handleNotSupported
457
+ def getOutletTemperature(self) -> float:
422
458
  # Shows the outlet temperature of the compressor.
423
459
  return float(self.getProperty(f"heating.compressors.{self.compressor}.sensors.temperature.outlet")["properties"]["value"]["value"])
424
460
 
461
+ #TODO: remove deprecated method in 03.2026 release
425
462
  @handleNotSupported
463
+ @deprecated(reason="renamed, use getInletTemperatureUnit", version="2.55.1")
426
464
  def getCompressorInletTemperatureUnit(self) -> str:
465
+ return str(self.getInletTemperatureUnit())
466
+
467
+ @handleNotSupported
468
+ def getInletTemperatureUnit(self) -> str:
427
469
  # Shows the unit of measurement of the inlet temperature.
428
470
  return str(self.getProperty(f"heating.compressors.{self.compressor}.sensors.temperature.inlet")["properties"]["value"]["unit"])
429
471
 
472
+ #TODO: remove deprecated method in 03.2026 release
430
473
  @handleNotSupported
474
+ @deprecated(reason="renamed, use getInletTemperature", version="2.55.1")
431
475
  def getCompressorInletTemperature(self) -> float:
476
+ return float(self.getInletTemperature())
477
+
478
+ @handleNotSupported
479
+ def getInletTemperature(self) -> float:
432
480
  # Shows the inlet temperature of the compressor.
433
481
  return float(self.getProperty(f"heating.compressors.{self.compressor}.sensors.temperature.inlet")["properties"]["value"]["value"])
434
482
 
@@ -439,23 +487,47 @@ class Evaporator(HeatingDeviceWithComponent):
439
487
  def evaporator(self) -> str:
440
488
  return self.component
441
489
 
490
+ #TODO: remove deprecated method in 03.2026 release
442
491
  @handleNotSupported
492
+ @deprecated(reason="renamed, use getLiquidTemperatureUnit", version="2.55.1")
443
493
  def getEvaporatorLiquidTemperatureUnit(self) -> str:
494
+ return str(self.getLiquidTemperatureUnit())
495
+
496
+ @handleNotSupported
497
+ def getLiquidTemperatureUnit(self) -> str:
444
498
  # Shows the unit of measurement of the liquid temperature of the evaporator.
445
499
  return str(self.getProperty(f"heating.evaporators.{self.evaporator}.sensors.temperature.liquid")["properties"]["value"]["unit"])
446
500
 
501
+ #TODO: remove deprecated method in 03.2026 release
447
502
  @handleNotSupported
503
+ @deprecated(reason="renamed, use getLiquidTemperature", version="2.55.1")
448
504
  def getEvaporatorLiquidTemperature(self) -> float:
505
+ return float(self.getLiquidTemperature())
506
+
507
+ @handleNotSupported
508
+ def getLiquidTemperature(self) -> float:
449
509
  # Shows the liquid temperature of the evaporator.
450
510
  return float(self.getProperty(f"heating.evaporators.{self.evaporator}.sensors.temperature.liquid")["properties"]["value"]["value"])
451
511
 
512
+ #TODO: remove deprecated method in 03.2026 release
452
513
  @handleNotSupported
514
+ @deprecated(reason="renamed, use getOverheatTemperatureUnit", version="2.55.1")
453
515
  def getEvaporatorOverheatTemperatureUnit(self) -> str:
516
+ return str(self.getOverheatTemperatureUnit())
517
+
518
+ @handleNotSupported
519
+ def getOverheatTemperatureUnit(self) -> str:
454
520
  # Shows the unit of measurement of the overheat temperature of the evaporator.
455
521
  return str(self.getProperty(f"heating.evaporators.{self.evaporator}.sensors.temperature.overheat")["properties"]["value"]["unit"])
456
522
 
523
+ #TODO: remove deprecated method in 03.2026 release
457
524
  @handleNotSupported
525
+ @deprecated(reason="renamed, use getOverheatTemperature", version="2.55.1")
458
526
  def getEvaporatorOverheatTemperature(self) -> float:
527
+ return float(self.getOverheatTemperature())
528
+
529
+ @handleNotSupported
530
+ def getOverheatTemperature(self) -> float:
459
531
  # Shows the overheat temperature of the evaporator.
460
532
  return float(self.getProperty(f"heating.evaporators.{self.evaporator}.sensors.temperature.overheat")["properties"]["value"]["value"])
461
533
 
@@ -466,22 +538,46 @@ class Condensor(HeatingDeviceWithComponent):
466
538
  def condensor(self) -> str:
467
539
  return self.component
468
540
 
541
+ #TODO: remove deprecated method in 03.2026 release
469
542
  @handleNotSupported
543
+ @deprecated(reason="renamed, use getSubcoolingTemperatureUnit", version="2.55.1")
470
544
  def getCondensorSubcoolingTemperatureUnit(self) -> str:
471
- # Shows the unit of measurement of the subcooling temperature of the condensor.
545
+ return str(self.getSubcoolingTemperatureUnit())
546
+
547
+ @handleNotSupported
548
+ def getSubcoolingTemperatureUnit(self) -> str:
549
+ # Shows the unit of measurement of the subcooling temperature of the condenser.
472
550
  return str(self.getProperty(f"heating.condensors.{self.condensor}.sensors.temperature.subcooling")["properties"]["value"]["unit"])
473
551
 
552
+ #TODO: remove deprecated method in 03.2026 release
474
553
  @handleNotSupported
554
+ @deprecated(reason="renamed, use getSubcoolingTemperature", version="2.55.1")
475
555
  def getCondensorSubcoolingTemperature(self) -> float:
476
- # Shows the subcooling temperature of the condensor.
556
+ return float(self.getSubcoolingTemperature())
557
+
558
+ @handleNotSupported
559
+ def getSubcoolingTemperature(self) -> float:
560
+ # Shows the subcooling temperature of the condenser.
477
561
  return float(self.getProperty(f"heating.condensors.{self.condensor}.sensors.temperature.subcooling")["properties"]["value"]["value"])
478
562
 
563
+ #TODO: remove deprecated method in 03.2026 release
479
564
  @handleNotSupported
565
+ @deprecated(reason="renamed, use getLiquidTemperatureUnit", version="2.55.1")
480
566
  def getCondensorLiquidTemperatureUnit(self) -> str:
481
- # Shows the unit of measurement of the liquid temperature of the condensor.
567
+ return str(self.getLiquidTemperatureUnit())
568
+
569
+ @handleNotSupported
570
+ def getLiquidTemperatureUnit(self) -> str:
571
+ # Shows the unit of measurement of the liquid temperature of the condenser.
482
572
  return str(self.getProperty(f"heating.condensors.{self.condensor}.sensors.temperature.liquid")["properties"]["value"]["unit"])
483
573
 
574
+ #TODO: remove deprecated method in 03.2026 release
484
575
  @handleNotSupported
576
+ @deprecated(reason="renamed, use getLiquidTemperature", version="2.55.1")
485
577
  def getCondensorLiquidTemperature(self) -> float:
486
- # Shows the liquid temperature of the condensor.
578
+ return float(self.getLiquidTemperature())
579
+
580
+ @handleNotSupported
581
+ def getLiquidTemperature(self) -> float:
582
+ # Shows the liquid temperature of the condenser.
487
583
  return float(self.getProperty(f"heating.condensors.{self.condensor}.sensors.temperature.liquid")["properties"]["value"]["value"])
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PyViCare"
3
- version = "2.55.0"
3
+ version = "2.55.1"
4
4
  description = "Library to communicate with the Viessmann ViCare API."
5
5
  authors = [
6
6
  "Simon Gillet <mail+pyvicare@gillet.ninja>"
File without changes
File without changes
File without changes