myPyllant 0.7.1__tar.gz → 0.7.2__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 (102) hide show
  1. {mypyllant-0.7.1 → mypyllant-0.7.2}/PKG-INFO +1 -1
  2. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/api.py +1 -0
  3. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/models.py +8 -1
  4. {mypyllant-0.7.1 → mypyllant-0.7.2}/.devcontainer.json +0 -0
  5. {mypyllant-0.7.1 → mypyllant-0.7.2}/.dockerignore +0 -0
  6. {mypyllant-0.7.1 → mypyllant-0.7.2}/.github/dependabot.yml +0 -0
  7. {mypyllant-0.7.1 → mypyllant-0.7.2}/.github/workflows/build-test.yaml +0 -0
  8. {mypyllant-0.7.1 → mypyllant-0.7.2}/.github/workflows/docker.yaml +0 -0
  9. {mypyllant-0.7.1 → mypyllant-0.7.2}/.gitignore +0 -0
  10. {mypyllant-0.7.1 → mypyllant-0.7.2}/.pre-commit-config.yaml +0 -0
  11. {mypyllant-0.7.1 → mypyllant-0.7.2}/.vscode/settings.json +0 -0
  12. {mypyllant-0.7.1 → mypyllant-0.7.2}/.vscode/tasks.json +0 -0
  13. {mypyllant-0.7.1 → mypyllant-0.7.2}/Dockerfile +0 -0
  14. {mypyllant-0.7.1 → mypyllant-0.7.2}/LICENSE +0 -0
  15. {mypyllant-0.7.1 → mypyllant-0.7.2}/README.md +0 -0
  16. {mypyllant-0.7.1 → mypyllant-0.7.2}/dev-requirements.txt +0 -0
  17. {mypyllant-0.7.1 → mypyllant-0.7.2}/logo.png +0 -0
  18. {mypyllant-0.7.1 → mypyllant-0.7.2}/pyproject.toml +0 -0
  19. {mypyllant-0.7.1 → mypyllant-0.7.2}/run_venv.sh +0 -0
  20. {mypyllant-0.7.1 → mypyllant-0.7.2}/scripts/precommit +0 -0
  21. {mypyllant-0.7.1 → mypyllant-0.7.2}/scripts/setup +0 -0
  22. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/__init__.py +0 -0
  23. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/const.py +0 -0
  24. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/export.py +0 -0
  25. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/py.typed +0 -0
  26. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/report.py +0 -0
  27. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/sample.py +0 -0
  28. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/__init__.py +0 -0
  29. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/conftest.py +0 -0
  30. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/find_countries.py +0 -0
  31. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/generate_test_data.py +0 -0
  32. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/connection_status.json +0 -0
  33. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/control_identifier.json +0 -0
  34. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/current_system.json +0 -0
  35. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/device_buckets.json +0 -0
  36. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/diagnostic_trouble_codes.json +0 -0
  37. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/mpc.json +0 -0
  38. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/system.json +0 -0
  39. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/time_zone.json +0 -0
  40. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/heatpump_electric_backup/homes.json +0 -0
  41. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/connection_status.json +0 -0
  42. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/control_identifier.json +0 -0
  43. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/current_system.json +0 -0
  44. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/device_buckets.json +0 -0
  45. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/firmware_update_required.json +0 -0
  46. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/system.json +0 -0
  47. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/time_zone.json +0 -0
  48. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/no_system/homes.json +0 -0
  49. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/connection_status.json +0 -0
  50. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/control_identifier.json +0 -0
  51. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/current_system.json +0 -0
  52. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/device_buckets.json +0 -0
  53. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/diagnostic_trouble_codes.json +0 -0
  54. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/mpc.json +0 -0
  55. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/system.json +0 -0
  56. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/time_zone.json +0 -0
  57. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/one_system_two_heatpumps/homes.json +0 -0
  58. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/connection_status.json +0 -0
  59. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/control_identifier.json +0 -0
  60. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/current_system.json +0 -0
  61. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/device_buckets.json +0 -0
  62. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/diagnostic_trouble_codes.json +0 -0
  63. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/mpc.json +0 -0
  64. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/system.json +0 -0
  65. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/time_zone.json +0 -0
  66. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/connection_status.json +0 -0
  67. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/control_identifier.json +0 -0
  68. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/current_system.json +0 -0
  69. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/device_buckets.json +0 -0
  70. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/diagnostic_trouble_codes.json +0 -0
  71. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/mpc.json +0 -0
  72. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/system.json +0 -0
  73. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/time_zone.json +0 -0
  74. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/two_systems/homes.json +0 -0
  75. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/connection_status.json +0 -0
  76. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/control_identifier.json +0 -0
  77. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/current_system.json +0 -0
  78. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/device_buckets.json +0 -0
  79. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/diagnostic_trouble_codes.json +0 -0
  80. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/system.json +0 -0
  81. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/time_zone.json +0 -0
  82. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/ventilation/homes.json +0 -0
  83. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/connection_status.json +0 -0
  84. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/control_identifier.json +0 -0
  85. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/current_system.json +0 -0
  86. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/device_buckets.json +0 -0
  87. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/diagnostic_trouble_codes.json +0 -0
  88. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/mpc.json +0 -0
  89. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/system.json +0 -0
  90. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/time_zone.json +0 -0
  91. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/json/vrc700/homes.json +0 -0
  92. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/run_function_test.py +0 -0
  93. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_api.py +0 -0
  94. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_countries.py +0 -0
  95. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_export.py +0 -0
  96. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_generate_test_data.py +0 -0
  97. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_models.py +0 -0
  98. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_sample.py +0 -0
  99. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/test_utils.py +0 -0
  100. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/update_sample.py +0 -0
  101. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/tests/utils.py +0 -0
  102. {mypyllant-0.7.1 → mypyllant-0.7.2}/src/myPyllant/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: myPyllant
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: A Python library to interact with the API behind the myVAILLANT app
5
5
  Project-URL: Homepage, https://github.com/signalkraft/myPyllant
6
6
  Project-URL: Bug Tracker, https://github.com/signalkraft/myPyllant/issues
@@ -370,6 +370,7 @@ class MyPyllantAPI:
370
370
  brand=self.brand,
371
371
  home=home,
372
372
  timezone=home.timezone,
373
+ control_identifier=await self.get_control_identifier(home.system_id),
373
374
  connected=await self.get_connection_status(home.system_id)
374
375
  if include_connection_status
375
376
  else None,
@@ -417,6 +417,7 @@ class Zone(MyPyllantDataClass):
417
417
  system_id: str
418
418
  general: ZoneGeneral
419
419
  timezone: datetime.tzinfo
420
+ control_identifier: str
420
421
  index: int
421
422
  zone_binding: str
422
423
  heating: ZoneHeating
@@ -558,6 +559,7 @@ class System(MyPyllantDataClass):
558
559
  home: Home
559
560
  brand: str
560
561
  timezone: datetime.tzinfo
562
+ control_identifier: str
561
563
  connected: bool | None = None
562
564
  diagnostic_trouble_codes: list | None = None
563
565
  current_system: dict = field(default_factory=dict)
@@ -576,7 +578,12 @@ class System(MyPyllantDataClass):
576
578
  logger.debug(f"Creating related models from state: {kwargs}")
577
579
  system.extra_fields = system.merge_extra_fields()
578
580
  system.zones = [
579
- Zone.from_api(system_id=system.id, timezone=system.timezone, **z)
581
+ Zone.from_api(
582
+ system_id=system.id,
583
+ timezone=system.timezone,
584
+ control_identifier=system.control_identifier,
585
+ **z,
586
+ )
580
587
  for z in system.merge_object("zones")
581
588
  ]
582
589
  system.circuits = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes