python-bsblan 6.1.3__tar.gz → 6.1.4__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 (134) hide show
  1. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/docs.yaml +1 -1
  2. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/linting.yaml +2 -2
  3. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/release-drafter.yaml +1 -1
  4. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/release.yaml +2 -2
  5. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/tests.yaml +2 -2
  6. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/typing.yaml +1 -1
  7. python_bsblan-6.1.4/.nvmrc +1 -0
  8. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/PKG-INFO +1 -1
  9. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/package-lock.json +4 -4
  10. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/package.json +1 -1
  11. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/pyproject.toml +3 -3
  12. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_validation.py +3 -0
  13. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_api_validation.py +12 -0
  14. python_bsblan-6.1.3/.nvmrc +0 -1
  15. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.editorconfig +0 -0
  16. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.gitattributes +0 -0
  17. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/CODE_OF_CONDUCT.md +0 -0
  18. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/CONTRIBUTING.md +0 -0
  19. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/PULL_REQUEST_TEMPLATE.md +0 -0
  20. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  21. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  22. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/SECURITY.md +0 -0
  23. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/pr-review.agent.md +0 -0
  24. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/security-reviewer.agent.md +0 -0
  25. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/agents/tdd-refactor.agent.md +0 -0
  26. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/copilot-instructions.md +0 -0
  27. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/hooks/run-validation-after-edits.json +0 -0
  28. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/hooks/run_validation_after_edits.sh +0 -0
  29. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/labels.yml +0 -0
  30. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/prompts/add-parameter.prompt.md +0 -0
  31. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/prompts/code-review.prompt.md +0 -0
  32. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/release-drafter.yml +0 -0
  33. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/renovate.json +0 -0
  34. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/bsblan-parameters/SKILL.md +0 -0
  35. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/bsblan-testing/SKILL.md +0 -0
  36. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/skills/feature-doc-updates/SKILL.md +0 -0
  37. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/auto-approve-renovate.yml +0 -0
  38. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/codeql.yaml +0 -0
  39. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/dependency-review.yaml +0 -0
  40. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/labels.yaml +0 -0
  41. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/lock.yaml +0 -0
  42. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/pr-labels.yaml +0 -0
  43. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/scorecard.yml +0 -0
  44. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/workflows/stale.yaml +0 -0
  45. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.github/zizmor.yml +0 -0
  46. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.gitignore +0 -0
  47. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.pre-commit-config.yaml +0 -0
  48. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.prettierignore +0 -0
  49. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/.yamllint +0 -0
  50. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/AGENTS.md +0 -0
  51. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/CLAUDE.md +0 -0
  52. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/LICENSE.md +0 -0
  53. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/Makefile +0 -0
  54. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/README.md +0 -0
  55. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/client.md +0 -0
  56. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/constants.md +0 -0
  57. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/exceptions.md +0 -0
  58. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/api/models.md +0 -0
  59. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/getting-started.md +0 -0
  60. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/docs/index.md +0 -0
  61. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/control.py +0 -0
  62. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/discovery.py +0 -0
  63. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/fetch_param.py +0 -0
  64. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/profile_init.py +0 -0
  65. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/ruff.toml +0 -0
  66. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/examples/speed_test.py +0 -0
  67. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/mkdocs.yml +0 -0
  68. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/sonar-project.properties +0 -0
  69. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/__init__.py +0 -0
  70. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_temperature.py +0 -0
  71. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_transport.py +0 -0
  72. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/_version.py +0 -0
  73. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/bsblan.py +0 -0
  74. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/constants.py +0 -0
  75. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/exceptions.py +0 -0
  76. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/models.py +0 -0
  77. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/py.typed +0 -0
  78. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/src/bsblan/utility.py +0 -0
  79. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/__init__.py +0 -0
  80. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/conftest.py +0 -0
  81. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/device.json +0 -0
  82. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/dict_version.json +0 -0
  83. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/hot_water_state.json +0 -0
  84. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/info.json +0 -0
  85. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/password.txt +0 -0
  86. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_device.json +0 -0
  87. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_state.json +0 -0
  88. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/pps_static_values.json +0 -0
  89. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/sensor.json +0 -0
  90. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/state.json +0 -0
  91. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/state_circuit2.json +0 -0
  92. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/static_state.json +0 -0
  93. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/static_state_circuit2.json +0 -0
  94. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/thermostat_hvac.json +0 -0
  95. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/thermostat_temp.json +0 -0
  96. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/fixtures/time.json +0 -0
  97. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/ruff.toml +0 -0
  98. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_api_initialization.py +0 -0
  99. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_auth.py +0 -0
  100. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_backoff_retry.py +0 -0
  101. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_bsblan.py +0 -0
  102. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_bsblan_edge_cases.py +0 -0
  103. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_circuit.py +0 -0
  104. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_configuration.py +0 -0
  105. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_constants.py +0 -0
  106. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_context_manager.py +0 -0
  107. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_device.py +0 -0
  108. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_dhw_time_switch.py +0 -0
  109. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_entity_info.py +0 -0
  110. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_entity_info_ha.py +0 -0
  111. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_heating_schedule.py +0 -0
  112. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_hot_water_additional.py +0 -0
  113. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_hotwater_state.py +0 -0
  114. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_include_parameter.py +0 -0
  115. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_info.py +0 -0
  116. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_initialization.py +0 -0
  117. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_pps.py +0 -0
  118. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_read_parameters.py +0 -0
  119. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_reset_validation.py +0 -0
  120. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_schedule_models.py +0 -0
  121. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_sensor.py +0 -0
  122. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_heating_schedule.py +0 -0
  123. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_hot_water_schedule.py +0 -0
  124. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_set_hotwater.py +0 -0
  125. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_state.py +0 -0
  126. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_static_state.py +0 -0
  127. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_temperature_unit.py +0 -0
  128. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_temperature_validation.py +0 -0
  129. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_thermostat.py +0 -0
  130. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_time.py +0 -0
  131. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility.py +0 -0
  132. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility_additional.py +0 -0
  133. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_utility_edge_cases.py +0 -0
  134. {python_bsblan-6.1.3 → python_bsblan-6.1.4}/tests/test_version_errors.py +0 -0
@@ -31,7 +31,7 @@ jobs:
31
31
  with:
32
32
  enable-cache: true
33
33
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
34
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
34
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
35
35
  with:
36
36
  python-version: ${{ env.DEFAULT_PYTHON }}
37
37
  - name: 🏗 Install dependencies
@@ -30,7 +30,7 @@ jobs:
30
30
  enable-cache: true
31
31
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
32
32
  id: python
33
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
33
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
34
34
  with:
35
35
  python-version: ${{ env.DEFAULT_PYTHON }}
36
36
  - name: 🏗 Install Python dependencies
@@ -54,7 +54,7 @@ jobs:
54
54
  enable-cache: true
55
55
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
56
56
  id: python
57
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
57
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
58
58
  with:
59
59
  python-version: ${{ env.DEFAULT_PYTHON }}
60
60
  - name: 🏗 Install Python dependencies
@@ -36,7 +36,7 @@ jobs:
36
36
  steps:
37
37
  - name: 🚀 Run Release Drafter
38
38
  # yamllint disable-line rule:line-length
39
- uses: release-drafter/release-drafter@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
39
+ uses: release-drafter/release-drafter@ed4bc48ec97379be2258e7b7ac2624a3e26ab809 # v7.4.0
40
40
  with:
41
41
  prerelease: ${{ github.event.inputs.prerelease == 'true' }}
42
42
  prerelease-identifier: ${{ github.event.inputs.prerelease_identifier }}
@@ -34,7 +34,7 @@ jobs:
34
34
  enable-cache: false
35
35
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
36
36
  id: python
37
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
37
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
38
38
  with:
39
39
  python-version: ${{ env.DEFAULT_PYTHON }}
40
40
  - name: 🏗 Install dependencies
@@ -50,7 +50,7 @@ jobs:
50
50
  - name: 🏗 Build package
51
51
  run: uv build
52
52
  - name: 🔏 Attest build provenance
53
- uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
53
+ uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1
54
54
  with:
55
55
  subject-path: ./dist/*
56
56
  - name: 🚀 Publish to PyPi
@@ -38,7 +38,7 @@ jobs:
38
38
  enable-cache: true
39
39
  - name: 🏗 Set up Python ${{ matrix.python }}
40
40
  id: python
41
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
41
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
42
42
  with:
43
43
  python-version: ${{ matrix.python }}
44
44
  - name: 🏗 Install dependencies
@@ -73,7 +73,7 @@ jobs:
73
73
  enable-cache: true
74
74
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
75
75
  id: python
76
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
76
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
77
77
  with:
78
78
  python-version: ${{ env.DEFAULT_PYTHON }}
79
79
  - name: 🏗 Install dependencies
@@ -33,7 +33,7 @@ jobs:
33
33
  - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
34
34
  id: python
35
35
  # yamllint disable-line rule:line-length
36
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
36
+ uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
37
37
  with:
38
38
  python-version: ${{ env.DEFAULT_PYTHON }}
39
39
  - name: 🏗 Install dependencies
@@ -0,0 +1 @@
1
+ 24.18.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-bsblan
3
- Version: 6.1.3
3
+ Version: 6.1.4
4
4
  Summary: Asynchronous Python client for BSBLAN API
5
5
  Project-URL: Homepage, https://github.com/liudger/python-bsblan
6
6
  Project-URL: Repository, https://github.com/liudger/python-bsblan
@@ -12,13 +12,13 @@
12
12
  "url-parse": "1.5.10"
13
13
  },
14
14
  "devDependencies": {
15
- "prettier": "3.8.4"
15
+ "prettier": "3.8.5"
16
16
  }
17
17
  },
18
18
  "node_modules/prettier": {
19
- "version": "3.8.4",
20
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz",
21
- "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==",
19
+ "version": "3.8.5",
20
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.5.tgz",
21
+ "integrity": "sha512-zxcTTCedNGJM4R8sj/Cq/F0W/c4iE0afWBcBwMTRtw4WHYP9TWkYjdiH3npPRUYsXQCPR0hTU9yjovOu+E6EQA==",
22
22
  "dev": true,
23
23
  "license": "MIT",
24
24
  "bin": {
@@ -9,7 +9,7 @@
9
9
  "author": "WJL van Rootselaar <liudgervr@gmail.com>",
10
10
  "license": "MIT",
11
11
  "devDependencies": {
12
- "prettier": "3.8.4"
12
+ "prettier": "3.8.5"
13
13
  },
14
14
  "dependencies": {
15
15
  "url-parse": "1.5.10"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-bsblan"
3
- version = "6.1.3"
3
+ version = "6.1.4"
4
4
  description = "Asynchronous Python client for BSBLAN API"
5
5
  authors = [
6
6
  {name = "Willem-Jan van Rootselaar", email = "liudgervr@gmail.com"}
@@ -196,7 +196,7 @@ dev = [
196
196
  # hatch is required to support type hinting and proper packaging of the py.typed file.
197
197
  "hatch>=1.14.1",
198
198
  "isort==8.0.1",
199
- "ty==0.0.44",
199
+ "ty==0.0.55",
200
200
  "prek>=0.3.3",
201
201
  "pre-commit-hooks==6.0.0",
202
202
  "pylint==4.0.5",
@@ -205,7 +205,7 @@ dev = [
205
205
  "pytest-cov==7.1.0",
206
206
  "pytest-xdist>=3.8.0",
207
207
  "pyupgrade==3.21.2",
208
- "ruff==0.15.16",
208
+ "ruff==0.15.20",
209
209
  "safety==3.8.1",
210
210
  "vulture==2.16",
211
211
  "yamllint==1.38.0",
@@ -96,6 +96,9 @@ class SectionValidator:
96
96
  dict[str, str]: Mapping of parameter id to parameter name.
97
97
 
98
98
  """
99
+ if not self._api_validator:
100
+ raise BSBLANError(ErrorMsg.API_VALIDATOR_NOT_INITIALIZED)
101
+
99
102
  return cast("APIValidator", self._api_validator).get_section_params(section)
100
103
 
101
104
  def apply_bus_specific_api_config(
@@ -89,6 +89,18 @@ async def test_validate_api_section_no_validator() -> None:
89
89
  await bsblan._validator._validate_api_section("device")
90
90
 
91
91
 
92
+ @pytest.mark.asyncio
93
+ async def test_get_section_params_no_validator() -> None:
94
+ """Test section parameter lookup with no validator initialized."""
95
+ async with aiohttp.ClientSession() as session:
96
+ bsblan = BSBLAN(BSBLANConfig(host="example.com"), session=session)
97
+
98
+ bsblan._validator._api_validator = None
99
+
100
+ with pytest.raises(BSBLANError, match=ErrorMsg.API_VALIDATOR_NOT_INITIALIZED):
101
+ bsblan._validator.get_section_params("device")
102
+
103
+
92
104
  @pytest.mark.asyncio
93
105
  async def test_validate_api_section_no_api_data() -> None:
94
106
  """Test API section validation with no API data initialized."""
@@ -1 +0,0 @@
1
- 24.16.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes