myPyllant 0.7.4__tar.gz → 0.7.4b2__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 (138) hide show
  1. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/workflows/build-test.yaml +2 -2
  2. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/workflows/docker.yaml +16 -6
  3. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/PKG-INFO +6 -4
  4. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/README.md +5 -3
  5. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/dev-requirements.txt +2 -1
  6. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/api.py +166 -127
  7. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/const.py +2 -4
  8. mypyllant-0.7.4b2/src/myPyllant/enums.py +114 -0
  9. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/export.py +1 -1
  10. mypyllant-0.7.4b2/src/myPyllant/http_client.py +64 -0
  11. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/models.py +108 -108
  12. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/report.py +4 -1
  13. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/sample.py +5 -3
  14. mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/claims.json +25 -0
  15. {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/current_system.json +13 -13
  16. mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/device_buckets.json +130 -0
  17. mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/diagnostic_trouble_codes.json +27 -0
  18. {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/system.json +51 -71
  19. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/ventilation/homes.json +1 -1
  20. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/control_identifier.json +3 -0
  21. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/current_system.json +66 -0
  22. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/device_buckets.json +130 -0
  23. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/diagnostic_trouble_codes.json +17 -0
  24. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/rts.json +9 -0
  25. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/system.json +240 -0
  26. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/time_zone.json +3 -0
  27. mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/homes.json +25 -0
  28. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/connection_status.json +3 -0
  29. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/mpc.json +3 -0
  30. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/system.json +1 -2
  31. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_dhw.yaml +384 -0
  32. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/connection_status.json +3 -0
  33. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/control_identifier.json +3 -0
  34. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/current_system.json +66 -0
  35. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/device_buckets.json +130 -0
  36. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/diagnostic_trouble_codes.json +27 -0
  37. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/mpc.json +3 -0
  38. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/rts.json +9 -0
  39. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/system.json +241 -0
  40. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/time_zone.json +3 -0
  41. mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/homes.json +26 -0
  42. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/generate_test_data.py +3 -3
  43. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/run_function_test.py +1 -1
  44. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_api.py +91 -26
  45. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_countries.py +2 -1
  46. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_models.py +24 -19
  47. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_sample.py +4 -1
  48. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/utils.py +13 -9
  49. mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/device_buckets.json +0 -130
  50. mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/diagnostic_trouble_codes.json +0 -27
  51. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.devcontainer.json +0 -0
  52. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.dockerignore +0 -0
  53. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/dependabot.yml +0 -0
  54. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.gitignore +0 -0
  55. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.pre-commit-config.yaml +0 -0
  56. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.vscode/settings.json +0 -0
  57. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.vscode/tasks.json +0 -0
  58. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/Dockerfile +0 -0
  59. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/LICENSE +0 -0
  60. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/logo.png +0 -0
  61. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/pyproject.toml +0 -0
  62. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/run_venv.sh +0 -0
  63. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/scripts/precommit +0 -0
  64. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/scripts/setup +0 -0
  65. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/__init__.py +0 -0
  66. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/py.typed +0 -0
  67. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/__init__.py +0 -0
  68. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/conftest.py +0 -0
  69. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/connection_status.json +0 -0
  70. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/control_identifier.json +0 -0
  71. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/current_system.json +0 -0
  72. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/device_buckets.json +0 -0
  73. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/diagnostic_trouble_codes.json +0 -0
  74. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/mpc.json +0 -0
  75. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/system.json +0 -0
  76. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/time_zone.json +0 -0
  77. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/homes.json +0 -0
  78. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/connection_status.json +0 -0
  79. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/control_identifier.json +0 -0
  80. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/current_system.json +0 -0
  81. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/device_buckets.json +0 -0
  82. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/firmware_update_required.json +0 -0
  83. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/system.json +0 -0
  84. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/time_zone.json +0 -0
  85. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/homes.json +0 -0
  86. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/connection_status.json +0 -0
  87. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/control_identifier.json +0 -0
  88. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/current_system.json +0 -0
  89. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/device_buckets.json +0 -0
  90. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/diagnostic_trouble_codes.json +0 -0
  91. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/mpc.json +0 -0
  92. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/system.json +0 -0
  93. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/7571042b8af21b829bda040425f77a76706b03d7/time_zone.json +0 -0
  94. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/homes.json +0 -0
  95. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/connection_status.json +0 -0
  96. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/control_identifier.json +0 -0
  97. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/current_system.json +0 -0
  98. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/device_buckets.json +0 -0
  99. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/diagnostic_trouble_codes.json +0 -0
  100. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/mpc.json +0 -0
  101. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/rts.json +0 -0
  102. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/system.json +0 -0
  103. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/time_zone.json +0 -0
  104. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/homes.json +0 -0
  105. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/connection_status.json +0 -0
  106. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/control_identifier.json +0 -0
  107. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/current_system.json +0 -0
  108. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/device_buckets.json +0 -0
  109. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/diagnostic_trouble_codes.json +0 -0
  110. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/mpc.json +0 -0
  111. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/system.json +0 -0
  112. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/time_zone.json +0 -0
  113. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/connection_status.json +0 -0
  114. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/control_identifier.json +0 -0
  115. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/current_system.json +0 -0
  116. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/device_buckets.json +0 -0
  117. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/diagnostic_trouble_codes.json +0 -0
  118. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/mpc.json +0 -0
  119. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/system.json +0 -0
  120. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/time_zone.json +0 -0
  121. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/homes.json +0 -0
  122. {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/connection_status.json +0 -0
  123. {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/control_identifier.json +0 -0
  124. {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/time_zone.json +0 -0
  125. {mypyllant-0.7.4/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670 → mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d}/connection_status.json +0 -0
  126. {mypyllant-0.7.4/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670 → mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d}/mpc.json +0 -0
  127. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/control_identifier.json +0 -0
  128. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/current_system.json +0 -0
  129. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/device_buckets.json +0 -0
  130. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/diagnostic_trouble_codes.json +0 -0
  131. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/time_zone.json +0 -0
  132. {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/homes.json +0 -0
  133. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/find_countries.py +0 -0
  134. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_export.py +0 -0
  135. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_generate_test_data.py +0 -0
  136. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_utils.py +0 -0
  137. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/update_sample.py +0 -0
  138. {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/utils.py +0 -0
@@ -12,9 +12,9 @@ jobs:
12
12
  permissions:
13
13
  id-token: write
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
16
  - name: Set up Python
17
- uses: actions/setup-python@v4
17
+ uses: actions/setup-python@v5
18
18
  with:
19
19
  python-version: "3.10"
20
20
  cache: pip
@@ -3,10 +3,11 @@ name: Create and publish Docker image
3
3
 
4
4
  on:
5
5
  push:
6
- branches: ['main', 'docker']
6
+ branches: [ 'main', 'docker' ]
7
7
 
8
8
  env:
9
9
  REGISTRY: ghcr.io
10
+ TEST_TAG: signalkraft/mypyllant:test
10
11
  IMAGE_NAME: ${{ github.repository }}
11
12
 
12
13
  jobs:
@@ -18,27 +19,36 @@ jobs:
18
19
  #
19
20
  steps:
20
21
  - name: Checkout repository
21
- uses: actions/checkout@v3
22
+ uses: actions/checkout@v4
22
23
  - name: Set up QEMU
23
- uses: docker/setup-qemu-action@v2
24
+ uses: docker/setup-qemu-action@v3
24
25
  - name: Set up Docker Buildx
25
26
  uses: docker/setup-buildx-action@v2
26
27
  - name: Log in to the Container registry
27
- uses: docker/login-action@v2
28
+ uses: docker/login-action@v3
28
29
  with:
29
30
  registry: ${{ env.REGISTRY }}
30
31
  username: ${{ github.actor }}
31
32
  password: ${{ secrets.GITHUB_TOKEN }}
33
+ - name: Build and export to Docker
34
+ uses: docker/build-push-action@v5
35
+ with:
36
+ context: .
37
+ load: true
38
+ tags: ${{ env.TEST_TAG }}
39
+ - name: Test
40
+ run: |
41
+ docker run --rm ${{ env.TEST_TAG }}
32
42
  - name: Extract metadata (tags, labels) for Docker
33
43
  id: meta
34
- uses: docker/metadata-action@v4
44
+ uses: docker/metadata-action@v5
35
45
  with:
36
46
  images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
37
47
  tags: |
38
48
  # set latest tag for default branch
39
49
  type=raw,value=latest,enable={{is_default_branch}}
40
50
  - name: Build and push Docker image
41
- uses: docker/build-push-action@v4
51
+ uses: docker/build-push-action@v5
42
52
  with:
43
53
  context: .
44
54
  platforms: linux/amd64,linux/arm64
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: myPyllant
3
- Version: 0.7.4
3
+ Version: 0.7.4b2
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
@@ -107,17 +107,19 @@ parser.add_argument(
107
107
  async def main(user, password, brand, country):
108
108
  async with MyPyllantAPI(user, password, brand, country) as api:
109
109
  async for system in api.get_systems():
110
+ print(await api.set_set_back_temperature(system.zones[0], 18))
111
+ print(await api.quick_veto_zone_temperature(system.zones[0], 21, 5))
112
+ print(await api.cancel_quick_veto_zone_temperature(system.zones[0]))
113
+ setpoint = 10.0 if system.control_identifier.is_vrc700 else None
110
114
  print(
111
115
  await api.set_holiday(
112
116
  system,
113
117
  datetime.now(system.timezone),
114
118
  datetime.now(system.timezone) + timedelta(days=7),
119
+ setpoint, # Setpoint is only required for VRC700 systems
115
120
  )
116
121
  )
117
122
  print(await api.cancel_holiday(system))
118
- print(await api.set_set_back_temperature(system.zones[0], 18))
119
- print(await api.quick_veto_zone_temperature(system.zones[0], 21, 5))
120
- print(await api.cancel_quick_veto_zone_temperature(system.zones[0]))
121
123
  if system.domestic_hot_water:
122
124
  print(await api.boost_domestic_hot_water(system.domestic_hot_water[0]))
123
125
  print(await api.cancel_hot_water_boost(system.domestic_hot_water[0]))
@@ -90,17 +90,19 @@ parser.add_argument(
90
90
  async def main(user, password, brand, country):
91
91
  async with MyPyllantAPI(user, password, brand, country) as api:
92
92
  async for system in api.get_systems():
93
+ print(await api.set_set_back_temperature(system.zones[0], 18))
94
+ print(await api.quick_veto_zone_temperature(system.zones[0], 21, 5))
95
+ print(await api.cancel_quick_veto_zone_temperature(system.zones[0]))
96
+ setpoint = 10.0 if system.control_identifier.is_vrc700 else None
93
97
  print(
94
98
  await api.set_holiday(
95
99
  system,
96
100
  datetime.now(system.timezone),
97
101
  datetime.now(system.timezone) + timedelta(days=7),
102
+ setpoint, # Setpoint is only required for VRC700 systems
98
103
  )
99
104
  )
100
105
  print(await api.cancel_holiday(system))
101
- print(await api.set_set_back_temperature(system.zones[0], 18))
102
- print(await api.quick_veto_zone_temperature(system.zones[0], 21, 5))
103
- print(await api.cancel_quick_veto_zone_temperature(system.zones[0]))
104
106
  if system.domestic_hot_water:
105
107
  print(await api.boost_domestic_hot_water(system.domestic_hot_water[0]))
106
108
  print(await api.cancel_hot_water_boost(system.domestic_hot_water[0]))
@@ -14,4 +14,5 @@ dacite>=1.7.0
14
14
  python-dateutil>=2.8.0
15
15
  mypy~=1.8.0
16
16
  types-python-dateutil~=2.8.19.14
17
- types-requests~=2.31.0.20231231
17
+ types-requests~=2.31.0.20231231
18
+ types-PyYAML~=6.0.12.12