Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow changes in latest pw-beta release #444

Merged
merged 3 commits into from
Nov 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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

- Update fixture to create a testcase for HVACAction.PREHEATING

## v0.34.5

- Adam: return the control_state for each thermostat/location.
Expand Down
2 changes: 1 addition & 1 deletion fixtures/m_adam_heating/all_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"active_preset": "asleep",
"available": true,
"available_schedules": ["Weekschema", "Badkamer", "Test"],
"control_state": "heating",
"control_state": "preheating",
"dev_class": "thermostat",
"location": "f2bf9048bef64cc5b6d5110154e33c81",
"mode": "heat",
Expand Down
6 changes: 3 additions & 3 deletions scripts/manual_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def json_writer(

m_adam_heating = m_adam_cooling.copy()

# Set cooling_present to true
m_adam_cooling["gateway"]["cooling_present"] = False
# Set cooling_present to false
m_adam_heating["gateway"]["cooling_present"] = False

# Correct setpoint for "ad4838d7d35c4d6ea796ee12ae5aedf8"
m_adam_heating["devices"]["ad4838d7d35c4d6ea796ee12ae5aedf8"]["thermostat"][
Expand All @@ -189,7 +189,7 @@ def json_writer(

m_adam_heating["devices"]["ad4838d7d35c4d6ea796ee12ae5aedf8"][
"control_state"
] = "heating"
] = "preheating"
m_adam_heating["devices"]["ad4838d7d35c4d6ea796ee12ae5aedf8"]["mode"] = "heat"

# Back at ad48
Expand Down
Loading