Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
400 commits
Select commit Hold shift + click to select a range
b8fa87f
Update test-jsons
bouwew Jun 21, 2026
cfd0c76
Update entity_items assert
bouwew Jun 21, 2026
3959030
Update test-json
bouwew Jun 21, 2026
5fa581a
Update entity_items assert
bouwew Jun 21, 2026
827f090
update test-jsons
bouwew Jun 21, 2026
4e7914b
Update classes for typing
bouwew Jun 21, 2026
ae81f3d
Save updated fixtures
bouwew Jun 21, 2026
c356167
Legacy has no dhw_temperature dict
bouwew Jun 21, 2026
d5dc505
Reduce complexity
bouwew Jun 21, 2026
d2f69da
Update manual_fixtures.py
bouwew Jun 21, 2026
54012e5
Save correctly update manual fixtures
bouwew Jun 21, 2026
b299761
Change dhw_mode off to eco, dhw heating is never off unless specific…
bouwew Jun 21, 2026
cb0fc06
Save updated test-jsons
bouwew Jun 21, 2026
4bdd923
Update test-jsons
bouwew Jun 21, 2026
6e5c396
Fix left rework details
bouwew Jun 22, 2026
18d5e40
Correct/revert test-json updates
bouwew Jun 22, 2026
19be796
Save updated fixtures
bouwew Jun 22, 2026
531bc14
Rename test-function to tinker_actuator_temp()
bouwew Jun 22, 2026
f221f94
Rename function name in test cases
bouwew Jun 22, 2026
26563ea
Tinker_actuator_temp(): update test strings
bouwew Jun 22, 2026
d5109a1
Update set_number(), add case for boiler_temperature
bouwew Jun 22, 2026
a615206
Add tinker_actuator_temp test for adam_jip
bouwew Jun 22, 2026
5c194c6
Update CHANGELOG
bouwew Jun 22, 2026
fa76669
Clean up legacy-helper.py as suggested
bouwew Jun 22, 2026
159b22d
Update CHANGELOG, bump version to v1.13.0
bouwew Jul 4, 2026
54b3a27
Merge pull request #888 from plugwise/water_heater_2
bouwew Jul 5, 2026
d2a92e5
Update pre-commit hook astral-sh/ruff-pre-commit to v0.15.21 (#892)
renovate[bot] Jul 10, 2026
c9cc5c6
Also create boiler_temperature dict for legacy Anna
bouwew Jul 10, 2026
b201162
Save updated test-jsons, ruffed
bouwew Jul 10, 2026
43f7da0
Update CHANGELOG
bouwew Jul 10, 2026
ae165f4
Break out _create_special_dicts() as common function
bouwew Jul 10, 2026
bdd4014
Update CHANGELOG
bouwew Jul 10, 2026
a53b02a
Set to v1.13.1 release version
bouwew Jul 10, 2026
2c64b0d
Merge pull request #893 from plugwise/legacy-max-boiler
bouwew Jul 11, 2026
aef6e39
Update pre-commit hook jackdewinter/pymarkdown to v0.9.39 (#894)
renovate[bot] Jul 12, 2026
b18369a
Partly revert changes in constants
bouwew Jul 11, 2026
a62d01a
Partly revert changes in helper.py
bouwew Jul 11, 2026
0d2bd99
Adapt/revert _create_special_dicts() function
bouwew Jul 11, 2026
1fdfc52
Revert some changes in legacy helper.py
bouwew Jul 11, 2026
a9df065
Partly revert changes in smile.py
bouwew Jul 11, 2026
8a896eb
Fix typo
bouwew Jul 11, 2026
4a016d8
More reverts in helper.py
bouwew Jul 11, 2026
8c9abde
Init _dhw_allowed_modes
bouwew Jul 11, 2026
7dcf430
Updated test-json
bouwew Jul 11, 2026
0151395
Don't remove _collect_dhw_modes()
bouwew Jul 11, 2026
2b49142
Add guarding for where switches dict is not yet defined
bouwew Jul 11, 2026
a94ce70
Correct _get_toggle_state()
bouwew Jul 11, 2026
077a1ba
Correct key related to replacing select_dhw_mode
bouwew Jul 11, 2026
9bc5547
Update test-jsons
bouwew Jul 11, 2026
85d2da7
Add missing _couht update
bouwew Jul 11, 2026
3e350db
Update entity_items count
bouwew Jul 11, 2026
b03a655
Revert test-name-changes in tinker_actuator_temp()
bouwew Jul 11, 2026
29271aa
Update test-jsons
bouwew Jul 11, 2026
3eb9bb5
Update entity_items count
bouwew Jul 11, 2026
77ac69d
Update test-json
bouwew Jul 11, 2026
ed900b9
Update entity_items count
bouwew Jul 11, 2026
a0174e2
Update test-json
bouwew Jul 11, 2026
5bf90ab
Update entity_items count
bouwew Jul 11, 2026
7ff4407
Update test-json
bouwew Jul 11, 2026
0fb615d
Update entity_items count
bouwew Jul 11, 2026
ea6d5f0
Update test-jsons
bouwew Jul 12, 2026
77ab0c5
Update entity_items count
bouwew Jul 12, 2026
a003289
Add missing argument
bouwew Jul 12, 2026
cebbaca
Update test-json
bouwew Jul 12, 2026
a43b658
Update entity_items counts
bouwew Jul 12, 2026
57cd464
Update test-json
bouwew Jul 12, 2026
e6da846
Mypy fix
bouwew Jul 12, 2026
12c0baf
Fix manual fixtures script
bouwew Jul 12, 2026
828f39d
Save updated fixture
bouwew Jul 12, 2026
fc7ff85
Update m_adam_heating
bouwew Jul 12, 2026
d78ea9e
Save updated manual fixtures
bouwew Jul 12, 2026
51f0d0f
Shorten guard
bouwew Jul 12, 2026
76c0b36
Update CHANGELOG
bouwew Jul 12, 2026
5f0925b
Bump version to v1.14.0a0
bouwew Jul 12, 2026
bd6ee08
One more update for m_adam_heating, as suggested
bouwew Jul 12, 2026
5a41fa6
Save updated manual fixtures
bouwew Jul 12, 2026
95aeccf
Update docstring as suggested, keep the dhw_temperature sensor for now
bouwew Jul 12, 2026
9a20b57
Enable skip_testing
bouwew Jul 13, 2026
2dba792
Disable entity_items count
bouwew Jul 13, 2026
18d9f5f
Save updated test-jsons
bouwew Jul 13, 2026
b5d095f
Revert "Save updated test-jsons"
bouwew Jul 13, 2026
8389faa
Revert "Disable entity_items count"
bouwew Jul 13, 2026
a4c4dcb
Revert "Enable skip_testing"
bouwew Jul 13, 2026
8687ae2
Update entity_items counts
bouwew Jul 13, 2026
8fc17a0
Save updated test-jsons
bouwew Jul 13, 2026
546ec33
Save various updates
bouwew Jul 13, 2026
f877fc5
Set to v1.14.0 release-version
bouwew Jul 13, 2026
01725c4
Merge pull request #895 from plugwise/revert-wh-names
bouwew Jul 13, 2026
8be4417
Update pre-commit hook codespell-project/codespell to v2.4.3 (#896)
renovate[bot] Jul 16, 2026
25bd29b
Update pre-commit hook astral-sh/ruff-pre-commit to v0.15.22
renovate[bot] Jul 17, 2026
9eb4561
Merge pull request #898 from plugwise/renovate/astral-sh-ruff-pre-com…
bouwew Jul 17, 2026
dab4b28
Correct m_adam_heating water_temperature
bouwew Jul 13, 2026
aebdaa9
Correct m_anna_heatpump_cooling fixture
bouwew Jul 13, 2026
9cf8282
Optimize set_dhw_mode(), set_select(), set_schedule_state() functions
bouwew Jul 15, 2026
8900a2c
Also optimize the legacy set-functions
bouwew Jul 15, 2026
8b1c939
Fix test set_select() call
bouwew Jul 15, 2026
20fdf79
Update set-function in __init__.py
bouwew Jul 15, 2026
c1c9cad
Try different approach for state
bouwew Jul 15, 2026
beef1cc
Adapt test-set_schedule_state() call
bouwew Jul 15, 2026
26f758e
Adapt set_dhw_mode() call
bouwew Jul 15, 2026
39f61f3
Adapt set_select() in __init__.py
bouwew Jul 15, 2026
2d8bb39
Save Copilot fix
bouwew Jul 16, 2026
6c37c9e
Ruffed
bouwew Jul 16, 2026
596321c
Save updated fixtures
bouwew Jul 16, 2026
a2b3c59
Widen name scope options
bouwew Jul 16, 2026
22753ee
Increase test coverage for set_schedule_state()
bouwew Jul 16, 2026
5b8b10a
Update CHANGELOG
bouwew Jul 16, 2026
42e6a89
Legacy set_select: handle unused key argument
bouwew Jul 16, 2026
d4699a6
Implement nitpick suggestion
bouwew Jul 16, 2026
73c0480
Update CHANGELOG
bouwew Jul 16, 2026
e2edd7a
Set version to v1.14.1
bouwew Jul 16, 2026
205dfd7
Release-version v1.14.1
bouwew Jul 17, 2026
ce32275
Merge pull request #897 from plugwise/fix-manual-ficture-script
bouwew Jul 17, 2026
77aa9c1
Rework select_schedule to default off when no schedule active
bouwew Jul 19, 2026
12b11e8
Rework json-file to match the code update
bouwew Jul 19, 2026
01e8ec6
Update available_schedules order: off to first position
bouwew Jul 19, 2026
d627e4a
Save updated fixtures
bouwew Jul 19, 2026
25d43fd
Same rework for legacy
bouwew Jul 19, 2026
2d50119
Save update legacy device fixtures
bouwew Jul 19, 2026
3efb7ea
Cleanup
bouwew Jul 19, 2026
f68d8d6
Save updated manual fixtures
bouwew Jul 19, 2026
30103db
Update CHANGELOG
bouwew Jul 19, 2026
00c25bf
Merge pull request #899 from plugwise/schedule_null
bouwew Jul 20, 2026
f0a667a
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.0 (#902)
renovate[bot] Jul 24, 2026
618ed0d
Use common typing definitions
bouwew Jul 21, 2026
7a77760
Update CHANGELOG
bouwew Jul 28, 2026
1e4aed1
Set to v1.14.2 release-version
bouwew Jul 21, 2026
04f2491
Merge pull request #905 from plugwise/mypy-fix-2
bouwew Jul 28, 2026
a88aabb
Release v1.14.3
bouwew Jul 28, 2026
8b41c85
Merge pull request #906 from plugwise/v1_14_3
bouwew Jul 28, 2026
5125617
Correct typing of select_schedule
bouwew Aug 2, 2026
84f0ec2
Update CHANGELOG, set release-version
bouwew Aug 2, 2026
9f51842
Correct manual fixtures script
bouwew Aug 2, 2026
8b67324
Save update manual fixture
bouwew Aug 2, 2026
d86c19b
Update CHANGELOG
bouwew Aug 2, 2026
ece9660
Fix PLR0917 errors
bouwew Aug 2, 2026
546ddb1
Merge pull request #911 from plugwise/select_schedule_2
bouwew Aug 2, 2026
1f5bd17
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.1
renovate[bot] Aug 2, 2026
7b7d852
Merge pull request #907 from plugwise/renovate/astral-sh-ruff-pre-com…
bouwew Aug 2, 2026
09d68b5
Change to v1.14.4
bouwew Aug 2, 2026
bb3db5a
Merge pull request #912 from plugwise/v1_14_4
bouwew Aug 2, 2026
23446b5
Rework to dhw_ and boiler_temperature
bouwew Jul 29, 2026
c5bc994
Update set_number(), add case for boiler_temperature
bouwew Jul 29, 2026
4c04ea3
Update GwEntityData
bouwew Jul 29, 2026
1f336e2
One more name update
bouwew Jul 29, 2026
f4d16f7
Rename to boiler_temperature
bouwew Jul 29, 2026
748ab69
Save updated test-jsons
bouwew Jul 29, 2026
1157ca6
Save updated entity_items asserts
bouwew Jul 29, 2026
461e8c1
Resave
bouwew Jul 29, 2026
9c74496
Save updated fixture files
bouwew Jul 29, 2026
f93e1c5
Exend bsw_list into dicts_contents
bouwew Jul 31, 2026
0d83453
Fix typing
bouwew Jul 31, 2026
cbcde7f
Update manual fixtures script
bouwew Jul 31, 2026
ee6379d
Save updated manual fixtures
bouwew Jul 31, 2026
a9ac2de
Legacy: no initial guarding required for ACTIVE_ACTUATORS
bouwew Jul 31, 2026
41aefa5
Update CHANGELOG
bouwew Jul 31, 2026
cefb991
Implement changed names in test-code too
bouwew Aug 2, 2026
35744ee
Legacy: clean up _get_actuator_functionalities()
bouwew Aug 2, 2026
dd537f1
Update CHANGELOG after rebase
bouwew Aug 2, 2026
acee205
Set to v1.14.5 release-version
bouwew Aug 4, 2026
86cc03c
Merge pull request #908 from plugwise/wh-3
bouwew Aug 4, 2026
607ac48
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.2 (#913)
renovate[bot] Aug 8, 2026
73fe58d
Fix dhw_cm_switch not working
bouwew Aug 11, 2026
77e0503
Update CHANGELOG
bouwew Aug 11, 2026
1c7a8b9
Guard for overwriting _dhw_allowed_modes
bouwew Aug 11, 2026
ccb10ec
Replace internal variables with data in output, improve raise messages
bouwew Aug 11, 2026
53ea602
Ruffed
bouwew Aug 11, 2026
a39e30b
Update CHANGELOG
bouwew Aug 11, 2026
d42d800
Set to v1.14.6 release-version
bouwew Aug 12, 2026
f2ec651
Fix typo as suggested
bouwew Aug 12, 2026
d56cd03
Handle absent mode collections before validation as suggested
bouwew Aug 12, 2026
429ae0a
More raise-message improvements
bouwew Aug 12, 2026
ccd5387
Merge pull request #914 from plugwise/fix-178699
bouwew Aug 12, 2026
f607ef4
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.3 (#915)
renovate[bot] Aug 14, 2026
62a8394
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.4 (#916)
renovate[bot] Aug 21, 2026
5625dfd
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.5 (#917)
renovate[bot] Aug 28, 2026
ed0d548
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.6 (#918)
renovate[bot] Sep 4, 2026
e17ba19
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.7 (#919)
renovate[bot] Sep 12, 2026
4f788d9
Update pre-commit hook jackdewinter/pymarkdown to v0.9.40 (#920)
renovate[bot] Sep 14, 2026
8a7579b
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.8 (#921)
renovate[bot] Sep 18, 2026
41ad597
Collect gateway wifi-MAC
bouwew Jul 26, 2026
7e17433
Add wifi_mac_address to gateway data
bouwew Jul 26, 2026
e11739c
Guard finding wifi_mac_address
bouwew Jul 26, 2026
80f080f
Add wifi_mac_address to fixtures
bouwew Jul 26, 2026
f76b53b
Save modified and original test-files for quick fixture updating
bouwew Jul 26, 2026
f30be0a
Add missing appl.wifi_mac_address definitions
bouwew Jul 26, 2026
b3699d8
Save updated test-files
bouwew Jul 26, 2026
8d65ac8
Save updated test-jsons
bouwew Jul 27, 2026
b8607c3
P1: set wifi_mac_address on gateway only
bouwew Jul 27, 2026
2d4f5b1
Save updated test-json
bouwew Jul 27, 2026
8534daa
Update entity_items assert
bouwew Jul 27, 2026
ac0ed50
Save updated test-fixtures
bouwew Jul 27, 2026
7d59011
Clean up
bouwew Jul 27, 2026
8fb367b
Update CHANGELOG
bouwew Jul 27, 2026
2db399f
Add missing wifi_mac_address to classes as suggested
bouwew Sep 21, 2026
fa5de7c
Solve _collect_smile_data() too high complexity
bouwew Sep 21, 2026
760ac5e
Merge pull request #922 from plugwise/macs
bouwew Sep 22, 2026
e4530fb
Valve percentage has now a range on 0-100
bouwew Sep 21, 2026
d6fee4f
Also return 0 as int
bouwew Sep 21, 2026
2c74e0e
Update valve_position to int
bouwew Sep 21, 2026
c83f898
Ruffed, save updated fixtures
bouwew Sep 21, 2026
4583bb9
Update CHANGELOG
bouwew Sep 21, 2026
68d5e47
Don't multiply 0 times 100
bouwew Sep 22, 2026
ff648ba
Set to v1.14.7 release-version
bouwew Sep 22, 2026
7005920
Merge pull request #923 from plugwise/valve-percentage
bouwew Sep 22, 2026
84844fd
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.9 (#924)
renovate[bot] Sep 26, 2026
a5f84f7
Declare packaging as a dependency
Kayvan-Zahiri Sep 30, 2026
277e917
Update pre-commit hook astral-sh/ruff-pre-commit to v0.16.10 (#926)
renovate[bot] Oct 2, 2026
d2d8e0d
Merge pull request #925 from Kayvan-Zahiri/declare-packaging
bouwew Oct 2, 2026
50e4fa3
Update pre-commit hook asottile/pyupgrade to v3.22.0 (#927)
renovate[bot] Oct 11, 2026
2c61ac0
Update pre-commit hook astral-sh/ruff-pre-commit to v0.17.0
renovate[bot] Oct 11, 2026
ad8f588
Merge pull request #928 from plugwise/renovate/astral-sh-ruff-pre-com…
bouwew Oct 11, 2026
23beaa1
Update pre-commit hook cdce8p/python-typing-update to v0.9.0 (#929)
renovate[bot] Oct 13, 2026
628b471
Update pre-commit hook jackdewinter/pymarkdown to v0.9.41 (#930)
renovate[bot] Oct 14, 2026
4b78fde
Update pre-commit hook astral-sh/ruff-pre-commit to v0.17.1 (#931)
renovate[bot] Oct 16, 2026
86f3097
Update pre-commit hook astral-sh/ruff-pre-commit to v0.17.2 (#932)
renovate[bot] Oct 23, 2026
037a31d
_schedule(): ignore active state
bouwew Oct 24, 2026
444b78d
Correct anna_p1 test-json
bouwew Oct 24, 2026
7be80e9
Save updated test-fixture
bouwew Oct 24, 2026
c6cd726
Remove more active-related code, as suggested
bouwew Oct 24, 2026
46be779
Update CHANGELOG
bouwew Oct 24, 2026
3664b67
Set to v1.14.8 release-version
bouwew Oct 24, 2026
ddd5cc2
Fix typo
bouwew Oct 24, 2026
b614b78
Merge pull request #934 from plugwise/schedule_active
bouwew Oct 24, 2026
6eaeb95
Add core releases dependency check & bump versions
CoMPaTech Oct 24, 2026
a3049c6
Fix dependency
CoMPaTech Oct 24, 2026
cb38d34
Bump
CoMPaTech Oct 24, 2026
f9ef7fe
Merge pull request #935 from plugwise/ha_check
CoMPaTech Oct 24, 2026
88a45f3
Keep method and body when retrying a request
MartvanMale Oct 25, 2026
e7b284c
Import the aiohttp submodules the retry tests use
MartvanMale Oct 25, 2026
62f1ea2
Refactor assertion for calls in test_generic.py
bouwew Oct 25, 2026
a9c1c2f
Merge pull request #936 from MartvanMale/retry-method-fix
bouwew Oct 25, 2026
95fe94a
Read each zone's own preset rule
MartvanMale Oct 25, 2026
e0cdc6e
Add preset temperatures as adjustable values
MartvanMale Oct 25, 2026
c105d64
Validate and escape preset rule writes
MartvanMale Oct 26, 2026
404b610
Serialize preset temperature writes
MartvanMale Oct 26, 2026
56fd2a2
Add preset cooling setpoints
MartvanMale Oct 26, 2026
c45be4c
Find a zone's own preset rule by name when it has no tag
MartvanMale Oct 26, 2026
d7dfdf7
Refuse a preset heating setpoint above its cooling setpoint
MartvanMale Oct 26, 2026
6a5371e
Merge pull request #938 from MartvanMale/preset-temperatures
bouwew Oct 27, 2026
89b719b
Set to v1.15.0 release-version
bouwew Oct 27, 2026
1444a2e
Correct typo
bouwew Oct 27, 2026
3ee0c07
Merge pull request #939 from plugwise/rel-1_15_0
bouwew Oct 27, 2026
e4c63f1
Gate the preset cooling setpoints on the zone's own cooling_allowed
MartvanMale Oct 27, 2026
25d3d8b
Update pre-commit hook astral-sh/ruff-pre-commit to v0.17.3 (#941)
renovate[bot] Oct 28, 2026
36890af
Apply the per-zone cooling decision to writes and the climate mode
MartvanMale Oct 28, 2026
cc2f5f5
Merge pull request #940 from MartvanMale/cooling-allowed-per-zone
bouwew Oct 29, 2026
33dcbb2
Set to v1.16.0 release-version
bouwew Oct 29, 2026
1d36dc2
Merge pull request #942 from plugwise/next-release
bouwew Oct 29, 2026
7f4ac6f
Update chemelli74/ha-core-dependency-check action to v1.3.0 (#944)
renovate[bot] Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Latest release

env:
CACHE_VERSION: 11
CACHE_VERSION: 4
DEFAULT_PYTHON: "3.14"

# Only run on merges
Expand All @@ -26,7 +26,7 @@ jobs:
if: github.event.pull_request.merged == true
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Prepare uv
run: |
pip install uv
Expand Down Expand Up @@ -54,6 +54,9 @@ jobs:
run: |
. venv/bin/activate
uv build
- name: Generate PEP 740 Attestations
if: steps.check_package.outputs.should_publish == 'true'
uses: astral-sh/attest-action@f589a42a7efb6fe400b4f400de60b4bc90390027
- name: Publish distribution 📦 to PyPI
if: steps.check_package.outputs.should_publish == 'true'
run: |
Expand Down
67 changes: 39 additions & 28 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Latest commit

env:
CACHE_VERSION: 3
CACHE_VERSION: 4
DEFAULT_PYTHON: "3.14"
VENV: venv

Expand All @@ -25,10 +25,10 @@ jobs:
python-version: ${{ steps.python.outputs.python-version }} # Ensure all runners use THIS minor version
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Set up Python and determine minor version for ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v6
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Fetch HA pyproject
Expand All @@ -46,7 +46,7 @@ jobs:
steps:
- name: Prepare code checkout and python/prek(pre-commit) setup
id: cache-reuse
uses: plugwise/gh-actions/prepare-python-and-code@v2
uses: plugwise/gh-actions/prepare-python-and-code@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
fail-on-miss: false # First time create cache (if not already exists)
Expand All @@ -62,12 +62,12 @@ jobs:
- prepare
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
python-version: ${{ needs.cache.outputs.python-version }}
Expand Down Expand Up @@ -96,14 +96,14 @@ jobs:
- cache
- prepare
- ruff
- shellcheck
- checks
- dependencies_check
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
python-version: ${{ needs.cache.outputs.python-version }}
Expand All @@ -130,15 +130,15 @@ jobs:
python-version: ["3.14", "3.13"]
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@v6
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: ${{ matrix.python-version }}
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
fail-on-miss: false # First time create cache (if not already exists)
cache-key: ${{ needs.cache.outputs.cache-key }}
Expand All @@ -150,7 +150,7 @@ jobs:
. venv-${{ steps.python.outputs.python-version }}/bin/activate
pytest --log-level info tests/*.py --cov='.'
- name: Upload coverage artifact
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: coverage-${{ steps.python.outputs.python-version }}
path: .coverage
Expand All @@ -166,12 +166,12 @@ jobs:
- pytest
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
python-version: ${{ needs.cache.outputs.python-version }}
Expand All @@ -183,23 +183,31 @@ jobs:
pip list | grep -i mypy
mypy plugwise/

# Check shellscripts
shellcheck:
name: Shellcheck
# Check shellscripts and core requirements
checks:
name: Check shellscrips and core dependencies
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
- name: Check against HA Core release
uses: chemelli74/ha-core-dependency-check/release@7788df2ecd810988a459b20e599bb8c975dd7a3a # v1.3.0
- name: Check against HA Core dev
uses: chemelli74/ha-core-dependency-check/dev@7788df2ecd810988a459b20e599bb8c975dd7a3a # v1.3.0

# Check for missing python dependencies
dependencies_check:
runs-on: ubuntu-latest
name: Dependency
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Run dependency checker
run: scripts/dependencies_check.sh debug

Expand All @@ -213,17 +221,17 @@ jobs:
- mypy
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
python-version: ${{ needs.cache.outputs.python-version }}
venv-dir: ${{ env.VENV }}
prek-home: ${{ env.PREK_HOME }}
- name: Download all coverage artifacts
uses: actions/download-artifact@v8
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
pattern: coverage-*
merge-multiple: true
Expand All @@ -235,7 +243,7 @@ jobs:
coverage report --fail-under=94
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -253,7 +261,7 @@ jobs:
- mypy
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Prepare uv
run: |
pip install uv
Expand All @@ -280,6 +288,9 @@ jobs:
run: |
. venv/bin/activate
uv build
- name: Generate PEP 740 Attestations
if: steps.check_package.outputs.should_publish == 'true'
uses: astral-sh/attest-action@f589a42a7efb6fe400b4f400de60b4bc90390027
- name: Publish distribution 📦 to TestPyPI
if: steps.check_package.outputs.should_publish == 'true'
run: |
Expand All @@ -295,10 +306,10 @@ jobs:
- coverage
steps:
- name: Check out committed code
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Restore cached environment
id: cache-reuse
uses: plugwise/gh-actions/restore-venv@v2
uses: plugwise/gh-actions/restore-venv@9054f02b05e53697300c41df27d0307332dc7cd8
with:
cache-key: ${{ needs.cache.outputs.cache-key }}
python-version: ${{ needs.cache.outputs.python-version }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default_language_version:
repos:
# Run manually in CI skipping the branch checks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.8
rev: v0.17.3
hooks:
- id: ruff
name: "Ruff check"
Expand All @@ -24,13 +24,13 @@ repos:
args:
- --branch=main
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.2
rev: v3.22.0
hooks:
- id: pyupgrade
name: "Check Py upgrade"
args: [--py311-plus]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
name: "Check Code Spelling"
Expand All @@ -56,14 +56,14 @@ repos:
- id: yamllint
name: "YAML linting"
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1-1
hooks:
- id: shellcheck
name: "Shell checking"
args:
- --external-sources
- repo: https://github.com/cdce8p/python-typing-update
rev: v0.8.1
rev: v0.9.0
hooks:
# Run `python-typing-update` hook manually from time to time
# to update python typing syntax.
Expand Down Expand Up @@ -112,7 +112,7 @@ repos:
language: script
pass_filenames: false
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.36
rev: v0.9.41
hooks:
- id: pymarkdown
name: MarkDown Lint
75 changes: 73 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,79 @@
# Changelog

## Ongoing
## v1.16.0

- Add Add missing Emma firmware via PR [#863](https://github.com/plugwise/python-plugwise/pull/863)
- Contribution PR [#940](https://github.com/plugwise/python-plugwise/pull/940) by @MartvanMale:
- A zone shows the cooling setpoint of each preset only when the gateway has cooling and cooling is allowed for that zone. A zone that may not cool shows the heating setpoint alone, and, when no schedule is selected, reports heating as its climate mode.
- Setting the heating setpoint of a preset no longer fails in a zone that may not cool when the value is above the cooling setpoint stored for that zone.

## v1.15.0

- Contribution PR's [#936](https://github.com/plugwise/python-plugwise/pull/936) and [#938](https://github.com/plugwise/python-plugwise/pull/938) by @MartvanMale:
- Add the heating setpoint of each preset as an adjustable value for every zone with its own preset rule, and the cooling setpoint when the gateway has cooling. Changing one resets a manual setpoint on that zone to its active preset.
- Each Adam zone now takes its presets from its own preset rule, not from the last preset rule on the gateway.
- Fix setting changes after a timeout or a 504 error. The retry sent a read instead of the change, so the change was reported as done even when the gateway never got it.

## v1.14.8

- Fix for issue [#933](https://github.com/plugwise/python-plugwise/issues/933) via PR [#934](https://github.com/plugwise/python-plugwise/pull/934)
- Declare `packaging` as a dependency; `import plugwise` failed on a clean install without it

## v1.14.7

- Adapt to percentages being shown as 0-100 instead of 0-1, solving Issue [#903](https://github.com/plugwise/python-plugwise/issues/903)
- Collect wifi_mac_address [#904](https://github.com/plugwise/python-plugwise/issues/904)

## v1.14.6

- Bugfixes: fix domestic hot water comfort switching, dhw modes selection issues reported in Core issue [#178699](https://github.com/home-assistant/core/issues/178699) via PR [#914](https://github.com/plugwise/python-plugwise/pull/914)

## v1.14.5

- Rename dict-keys: `max_dhw_temperature` to `dhw_temperature`, `maximum_boiler_temperature` to `boiler_temperature` via PR [#908](https://github.com/plugwise/python-plugwise/pull/908)

## v1.14.4

- Correct typing of select_schedule, manual fixture update

## v1.14.3

- Change representation of no-thermostat-schedule-defined to a single `off` option via PR [#899](https://github.com/plugwise/python-plugwise/pull/899)

## v1.14.2

- Implement common typing in functions that are interacting.

## v1.14.1

- Improve manual fixtures script, reorder set_schedule_state() arguments for better compatibility with set_dhw_mode(), via PR[#897](https://github.com/plugwise/python-plugwise/pull/897)

## v1.14.0

- Include both old and new entities for a step-wise introduction of water_heaters in HA via PR [#895](https://github.com/plugwise/python-plugwise/pull/895):
- Keep the `dhw_cm_switch` and add the `dhw_modes list` and the `select_dhw_mode` string that will replace the `dhw_cm_switch` in the future
- `dhw_cm_switch` = `on` --> `select_dhw_mode` = `comfort`, `dhw_cm_switch` = `off` --> `select_dhw_mode` = `eco`
- Add a `current` (`temperature`) key to the `maximum_boiler_temperature` and `max_dhw_temperature` dicts

## v1.13.1

- Implement dedicated boiler_temperature dict for legacy Anna via PR [#893](https://github.com/plugwise/python-plugwise/pull/893)

## v1.13.0

- Improve on v1.12.0 update by outputting dedicated boiler_ and dhw_temperature dicts with current-key added. Rename dhw_mode off to eco for standard cv-heaters.
Via PR [#888](https://github.com/plugwise/python-plugwise/pull/888)
- Add PEP 740 digital attestations (workaround until included in `uv publish`), pin GitHub acions including our own from gh-actions, via PR [#891](https://github.com/plugwise/python-plugwise/pull/891)
- Solve aiohttp BasicAuth deprecation via PR [#890](https://github.com/plugwise/python-plugwise/pull/890)

## v1.12.0

- Replace the DHW-comfort-mode switch by a DHW mode selector to match the new HA select or water_heater platform updates, via PR [#883](https://github.com/plugwise/python-plugwise/pull/883)

## v1.11.4

- Correct Anna P1 detection via PR [#879](https://github.com/plugwise/python-plugwise/pull/879)
- Create an extra test-fixture for increased test coverage in the Integration via PR [#878](https://github.com/plugwise/python-plugwise/pull/878)
- Add missing Emma firmware via PR [#863](https://github.com/plugwise/python-plugwise/pull/863)
- Improve test function added in #860 via PR [#862](https://github.com/plugwise/python-plugwise/pull/862)

## v1.11.3
Expand Down
Loading