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.
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/workflows/build-test.yaml +2 -2
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/workflows/docker.yaml +16 -6
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/PKG-INFO +6 -4
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/README.md +5 -3
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/dev-requirements.txt +2 -1
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/api.py +166 -127
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/const.py +2 -4
- mypyllant-0.7.4b2/src/myPyllant/enums.py +114 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/export.py +1 -1
- mypyllant-0.7.4b2/src/myPyllant/http_client.py +64 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/models.py +108 -108
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/report.py +4 -1
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/sample.py +5 -3
- mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/claims.json +25 -0
- {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
- mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/device_buckets.json +130 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e/diagnostic_trouble_codes.json +27 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae → mypyllant-0.7.4b2/src/myPyllant/tests/data/ventilation/7f73f3852ea7775da288da3e6dc2fac2f298ea3e}/system.json +51 -71
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/ventilation/homes.json +1 -1
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/control_identifier.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/current_system.json +66 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/device_buckets.json +130 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/diagnostic_trouble_codes.json +17 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/rts.json +9 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/system.json +240 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d/time_zone.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/homes.json +25 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/connection_status.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/mpc.json +3 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/system.json +1 -2
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_dhw.yaml +384 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/connection_status.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/control_identifier.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/current_system.json +66 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/device_buckets.json +130 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/diagnostic_trouble_codes.json +27 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/mpc.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/rts.json +9 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/system.json +241 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/4d6354e40143a24b8caa0666a79f705b3df9e59e/time_zone.json +3 -0
- mypyllant-0.7.4b2/src/myPyllant/tests/data/vrc700_flexotherm/homes.json +26 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/generate_test_data.py +3 -3
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/run_function_test.py +1 -1
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_api.py +91 -26
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_countries.py +2 -1
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_models.py +24 -19
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_sample.py +4 -1
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/utils.py +13 -9
- mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/device_buckets.json +0 -130
- mypyllant-0.7.4/src/myPyllant/tests/json/ventilation/8fa4fe154d541e83ee01c807c0c85e29fc8c02ae/diagnostic_trouble_codes.json +0 -27
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.devcontainer.json +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.dockerignore +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.github/dependabot.yml +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.gitignore +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.pre-commit-config.yaml +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.vscode/settings.json +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/.vscode/tasks.json +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/Dockerfile +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/LICENSE +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/logo.png +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/pyproject.toml +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/run_venv.sh +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/scripts/precommit +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/scripts/setup +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/__init__.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/py.typed +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/__init__.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/conftest.py +0 -0
- {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
- {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
- {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
- {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
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/mpc.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/335e4ac949f68855c761a15671e5da393cf96ffe/system.json +0 -0
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/heatpump_electric_backup/homes.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/connection_status.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/control_identifier.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/current_system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/device_buckets.json +0 -0
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/1835c08766437e41a9c69bdf454e0ec8bfb0e82f/time_zone.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/no_system/homes.json +0 -0
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/one_system_two_heatpumps/homes.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/connection_status.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/control_identifier.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/current_system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/device_buckets.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/diagnostic_trouble_codes.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/mpc.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/rts.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/3692f21be10859c90ac96ada644badd442d5f9c2/time_zone.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/rts/homes.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/connection_status.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/control_identifier.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/current_system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/device_buckets.json +0 -0
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/mpc.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/e763593de7370e8d6f90fea50daacd9883e2e532/time_zone.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/connection_status.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/control_identifier.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/current_system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/device_buckets.json +0 -0
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/mpc.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/eed6a6500c47dc8f433846e845bb662e13fe469e/time_zone.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/two_systems/homes.json +0 -0
- {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
- {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
- {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
- {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
- {mypyllant-0.7.4/src/myPyllant/tests/json/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670 → mypyllant-0.7.4b2/src/myPyllant/tests/data/vr940f/ab2f4a951a7e71431585d56871d447d4ba8be78d}/mpc.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/control_identifier.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/current_system.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/device_buckets.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/diagnostic_trouble_codes.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/214ff1c13404bfd2d9350da3bfe86d45b9a7d670/time_zone.json +0 -0
- {mypyllant-0.7.4/src/myPyllant/tests/json → mypyllant-0.7.4b2/src/myPyllant/tests/data}/vrc700/homes.json +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/find_countries.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_export.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_generate_test_data.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/test_utils.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/tests/update_sample.py +0 -0
- {mypyllant-0.7.4 → mypyllant-0.7.4b2}/src/myPyllant/utils.py +0 -0
|
@@ -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@
|
|
22
|
+
uses: actions/checkout@v4
|
|
22
23
|
- name: Set up QEMU
|
|
23
|
-
uses: docker/setup-qemu-action@
|
|
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@
|
|
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@
|
|
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@
|
|
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.
|
|
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]))
|