Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0889eba
Change constants preparing for improved water_heater dicts
bouwew Jun 20, 2026
9a3809a
Update for dhw_temperature and debug
bouwew Jun 20, 2026
41364df
Revert removal of original actuator keys
bouwew Jun 20, 2026
4305794
Add current (temperature) to dhw_temperature dict
bouwew Jun 20, 2026
4fb00e7
Add current to maximum_boiler_temperature dict
bouwew Jun 20, 2026
f7fe750
Shorter maximum_boiler_temperature dict name
bouwew Jun 20, 2026
aecfcfb
Handle common dhw_ and water_temperature
bouwew Jun 21, 2026
34a0c17
Remove test-debug-line
bouwew Jun 21, 2026
8e2f6c9
Update test-jsons to the updated format
bouwew Jun 21, 2026
d49a68d
Update parameter name in data.py too
bouwew Jun 21, 2026
b66a78a
Correct items_count
bouwew Jun 21, 2026
0c004ea
Update entity_items assert
bouwew Jun 21, 2026
606ee41
Update test-json
bouwew Jun 21, 2026
a157d7f
Update entity_items assert
bouwew Jun 21, 2026
9742a41
Update test-jsons
bouwew Jun 21, 2026
3c408bd
Update entity_items assert
bouwew Jun 21, 2026
705547e
Update test-json
bouwew Jun 21, 2026
2f5beaf
Update entity_items assert
bouwew Jun 21, 2026
04097f0
update test-jsons
bouwew Jun 21, 2026
b907509
Update classes for typing
bouwew Jun 21, 2026
3f6d260
Save updated fixtures
bouwew Jun 21, 2026
4cf9064
Legacy has no dhw_temperature dict
bouwew Jun 21, 2026
cac0f50
Reduce complexity
bouwew Jun 21, 2026
8e0c6c2
Update manual_fixtures.py
bouwew Jun 21, 2026
abb089b
Save correctly update manual fixtures
bouwew Jun 21, 2026
cbd088b
Change dhw_mode off to eco, dhw heating is never off unless specific…
bouwew Jun 21, 2026
3caf673
Save updated test-jsons
bouwew Jun 21, 2026
ae33f62
Update test-jsons
bouwew Jun 21, 2026
b986751
Fix left rework details
bouwew Jun 22, 2026
b32fa78
Correct/revert test-json updates
bouwew Jun 22, 2026
de07422
Save updated fixtures
bouwew Jun 22, 2026
be61e5d
Rename test-function to tinker_actuator_temp()
bouwew Jun 22, 2026
9364f45
Rename function name in test cases
bouwew Jun 22, 2026
07acdce
Tinker_actuator_temp(): update test strings
bouwew Jun 22, 2026
30554aa
Update set_number(), add case for boiler_temperature
bouwew Jun 22, 2026
b1938e4
Add tinker_actuator_temp test for adam_jip
bouwew Jun 22, 2026
ec02fef
Update CHANGELOG
bouwew Jun 22, 2026
3f556f1
Clean up legacy-helper.py as suggested
bouwew Jun 22, 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Ongoing

- 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.

## 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)
Expand Down
26 changes: 13 additions & 13 deletions fixtures/adam_bad_thermostat/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@
"flame_state": false,
"heating_state": false
},
"boiler_temperature": {
"current": 20.9,
"lower_bound": 25.0,
"resolution": 0.01,
"setpoint": 38.0,
"upper_bound": 45.0
},
"dev_class": "heater_central",
"dhw_mode": "off",
"dhw_mode": "eco",
"dhw_modes": [
"comfort",
"off"
"eco"
],
"location": "856285a783f24bf4b2573c8bc510eabf",
"max_dhw_temperature": {
"dhw_temperature": {
"current": 49.9,
"lower_bound": 0.0,
"resolution": 1.0,
"setpoint": 50.0,
"upper_bound": 100.0
},
"maximum_boiler_temperature": {
"lower_bound": 25.0,
"resolution": 0.01,
"setpoint": 38.0,
"upper_bound": 45.0
},
"location": "856285a783f24bf4b2573c8bc510eabf",
"model": "Generic heater",
"model_id": "1.1",
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 49.9,
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"outdoor_air_temperature": 13.6,
"return_temperature": 33.0,
"water_temperature": 20.9
"return_temperature": 33.0
},
"vendor": "WeHeat"
},
Expand Down
24 changes: 12 additions & 12 deletions fixtures/adam_heatpump_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,36 +54,36 @@
"flame_state": false,
"heating_state": false
},
"boiler_temperature": {
"current": 24.5,
"lower_bound": 7.0,
"resolution": 0.01,
"setpoint": 35.0,
"upper_bound": 50.0
},
"dev_class": "heater_central",
"dhw_mode": "comfort",
"dhw_modes": [
"comfort",
"off"
"eco"
],
"location": "eedadcb297564f1483faa509179aebed",
"max_dhw_temperature": {
"dhw_temperature": {
"current": 63.5,
"lower_bound": 40.0,
"resolution": 0.01,
"setpoint": 60.0,
"upper_bound": 65.0
},
"maximum_boiler_temperature": {
"lower_bound": 7.0,
"resolution": 0.01,
"setpoint": 35.0,
"upper_bound": 50.0
},
"location": "eedadcb297564f1483faa509179aebed",
"model": "Generic heater/cooler",
"model_id": "17.1",
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 63.5,
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"outdoor_air_temperature": 13.5,
"return_temperature": 24.9,
"water_pressure": 2.0,
"water_temperature": 24.5
"water_pressure": 2.0
},
"vendor": "Remeha B.V."
},
Expand Down
25 changes: 13 additions & 12 deletions fixtures/adam_jip/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,34 +393,35 @@
"flame_state": false,
"heating_state": false
},
"boiler_temperature": {
"current": 37.3,
"lower_bound": 20.0,
"resolution": 0.01,
"setpoint": 90.0,
"upper_bound": 90.0
},
"dev_class": "heater_central",
"dhw_mode": "off",
"dhw_mode": "eco",
"dhw_modes": [
"comfort",
"off"
"eco"
],
"location": "9e4433a9d69f40b3aefd15e74395eaec",
"max_dhw_temperature": {
"dhw_temperature": {
"current": 37.3,
"lower_bound": 40.0,
"resolution": 0.01,
"setpoint": 60.0,
"upper_bound": 60.0
},
"maximum_boiler_temperature": {
"lower_bound": 20.0,
"resolution": 0.01,
"setpoint": 90.0,
"upper_bound": 90.0
},
"location": "9e4433a9d69f40b3aefd15e74395eaec",
"model": "Generic heater",
"model_id": "10.20",
"name": "OpenTherm",
"sensors": {
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"return_temperature": 37.1,
"water_pressure": 1.4,
"water_temperature": 37.3
"water_pressure": 1.4
},
"vendor": "Remeha B.V."
},
Expand Down
24 changes: 12 additions & 12 deletions fixtures/adam_onoff_cooling_fake_firmware/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@
"flame_state": false,
"heating_state": false
},
"boiler_temperature": {
"current": 24.5,
"lower_bound": 7.0,
"resolution": 0.01,
"setpoint": 35.0,
"upper_bound": 50.0
},
"dev_class": "heater_central",
"dhw_mode": "comfort",
"dhw_modes": [
"comfort",
"off"
"eco"
],
"location": "eedadcb297564f1483faa509179aebed",
"max_dhw_temperature": {
"dhw_temperature": {
"current": 63.5,
"lower_bound": 40.0,
"resolution": 0.01,
"setpoint": 60.0,
"upper_bound": 65.0
},
"maximum_boiler_temperature": {
"lower_bound": 7.0,
"resolution": 0.01,
"setpoint": 35.0,
"upper_bound": 50.0
},
"location": "eedadcb297564f1483faa509179aebed",
"model": "Unknown",
"name": "OnOff",
"sensors": {
"dhw_temperature": 63.5,
"intended_boiler_temperature": 0.0,
"modulation_level": 0.0,
"outdoor_air_temperature": 13.5,
"return_temperature": 24.9,
"water_pressure": 2.0,
"water_temperature": 24.5
"water_pressure": 2.0
}
},
"7d97fc3117784cfdafe347bcedcbbbcb": {
Expand Down
20 changes: 10 additions & 10 deletions fixtures/adam_plus_anna/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,24 @@
"flame_state": false,
"heating_state": false
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
],
"location": "07d618f0bb80412687f065b8698ce3e7",
"maximum_boiler_temperature": {
"boiler_temperature": {
"current": 48.0,
"lower_bound": 0.0,
"resolution": 1.0,
"setpoint": 80.0,
"upper_bound": 100.0
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"eco"
],
"location": "07d618f0bb80412687f065b8698ce3e7",
"model": "Generic heater",
"name": "OpenTherm",
"select_dhw_mode": "off",
"select_dhw_mode": "eco",
"sensors": {
"intended_boiler_temperature": 0.0,
"water_temperature": 48.0
"intended_boiler_temperature": 0.0
}
},
"aa6b0002df0a46e1b1eb94beb61eddfe": {
Expand Down
20 changes: 10 additions & 10 deletions fixtures/adam_plus_anna_new/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
"flame_state": true,
"heating_state": true
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
],
"location": "bc93488efab249e5bc54fd7e175a6f91",
"maximum_boiler_temperature": {
"boiler_temperature": {
"current": 43.0,
"lower_bound": 25.0,
"resolution": 0.01,
"setpoint": 50.0,
"upper_bound": 95.0
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"eco"
],
"location": "bc93488efab249e5bc54fd7e175a6f91",
"model": "Generic heater",
"name": "OpenTherm",
"select_dhw_mode": "off",
"select_dhw_mode": "eco",
"sensors": {
"intended_boiler_temperature": 22.5,
"water_temperature": 43.0
"intended_boiler_temperature": 22.5
}
},
"10016900610d4c7481df78c89606ef22": {
Expand Down
20 changes: 10 additions & 10 deletions fixtures/adam_plus_anna_new_regulation_off/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@
"flame_state": false,
"heating_state": false
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
],
"location": "bc93488efab249e5bc54fd7e175a6f91",
"maximum_boiler_temperature": {
"boiler_temperature": {
"current": 30.0,
"lower_bound": 25.0,
"resolution": 0.01,
"setpoint": 50.0,
"upper_bound": 95.0
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"eco"
],
"location": "bc93488efab249e5bc54fd7e175a6f91",
"model": "Generic heater",
"name": "OpenTherm",
"select_dhw_mode": "off",
"select_dhw_mode": "eco",
"sensors": {
"intended_boiler_temperature": 0.0,
"water_temperature": 30.0
"intended_boiler_temperature": 0.0
}
},
"10016900610d4c7481df78c89606ef22": {
Expand Down
4 changes: 2 additions & 2 deletions fixtures/anna_elga_2/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
"eco"
],
"location": "d34dfe6ab90b410c98068e75de3eb631",
"model": "Generic heater/cooler",
"name": "OpenTherm",
"select_dhw_mode": "off",
"select_dhw_mode": "eco",
"sensors": {
"domestic_hot_water_setpoint": 60.0,
"intended_boiler_temperature": 58.3,
Expand Down
18 changes: 9 additions & 9 deletions fixtures/anna_elga_2_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"heating_state": false,
"secondary_boiler_state": false
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
],
"location": "d34dfe6ab90b410c98068e75de3eb631",
"maximum_boiler_temperature": {
"boiler_temperature": {
"current": 22.8,
"lower_bound": 0.0,
"resolution": 1.0,
"setpoint": 60.0,
"upper_bound": 100.0
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"eco"
],
"location": "d34dfe6ab90b410c98068e75de3eb631",
"model": "Generic heater/cooler",
"name": "OpenTherm",
"select_dhw_mode": "comfort",
Expand All @@ -31,8 +32,7 @@
"modulation_level": 0.0,
"outdoor_air_temperature": 30.0,
"return_temperature": 23.4,
"water_pressure": 0.5,
"water_temperature": 22.8
"water_pressure": 0.5
},
"vendor": "Techneco"
},
Expand Down
18 changes: 9 additions & 9 deletions fixtures/anna_elga_2_schedule_off/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"heating_state": false,
"secondary_boiler_state": false
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"off"
],
"location": "d34dfe6ab90b410c98068e75de3eb631",
"maximum_boiler_temperature": {
"boiler_temperature": {
"current": 22.8,
"lower_bound": 0.0,
"resolution": 1.0,
"setpoint": 60.0,
"upper_bound": 100.0
},
"dev_class": "heater_central",
"dhw_modes": [
"comfort",
"eco"
],
"location": "d34dfe6ab90b410c98068e75de3eb631",
"model": "Generic heater/cooler",
"name": "OpenTherm",
"select_dhw_mode": "comfort",
Expand All @@ -31,8 +32,7 @@
"modulation_level": 0.0,
"outdoor_air_temperature": 13.0,
"return_temperature": 23.4,
"water_pressure": 0.5,
"water_temperature": 22.8
"water_pressure": 0.5
},
"vendor": "Techneco"
},
Expand Down
Loading
Loading