Skip to content

Commit 3801070

Browse files
authored
Merge pull request #668 from plugwise/fix-manual-script
Fix m_adam_cooling mixup
2 parents ebeb30c + 9d6629a commit 3801070

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
## Ongoing
44

5-
- Continuous improvements
5+
- Continuous improvements [#662](https://github.com/plugwise/python-plugwise/pull/662)
6+
- Rework tooling [#664](https://github.com/plugwise/python-plugwise/pull/664)
7+
- Archive p1v4 userdata [#666](https://github.com/plugwise/python-plugwise/pull/666)
8+
- Correct manual_fixtures script [#668](https://github.com/plugwise/python-plugwise/pull/668)
69

710
## v1.6.3
811

fixtures/m_adam_cooling/all_data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@
176176
"Weekschema",
177177
"off"
178178
],
179-
"climate_mode": "cool",
180-
"control_state": "auto",
179+
"climate_mode": "auto",
180+
"control_state": "cooling",
181181
"dev_class": "climate",
182182
"model": "ThermoZone",
183183
"name": "Bathroom",

scripts/manual_fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def json_writer(manual_name: str, all_data: dict) -> None:
126126
] = 23.9
127127
m_adam_cooling["devices"]["f871b8c4d63549319221e294e4f88074"][
128128
"control_state"
129-
] = "auto"
130-
m_adam_cooling["devices"]["f871b8c4d63549319221e294e4f88074"]["climate_mode"] = "cool"
129+
] = "cooling"
130+
m_adam_cooling["devices"]["f871b8c4d63549319221e294e4f88074"]["climate_mode"] = "auto"
131131

132132

133133
# Go for da22

0 commit comments

Comments
 (0)