PyThermostat: Modify PIDAutotune for GUI usage #162

Open
atse wants to merge 3 commits from atse/thermostat:autotune-state into master

3 Commits

Author SHA1 Message Date
f4c1dab00f PyThermostat: Simplify PIDAutotuneState enum names
Remove `STATE_` prefix to reduce verbosity in say,
PIDAutotuneState.STATE_RELAY_STEP_DOWN
2025-01-20 16:29:35 +08:00
e2a7f3848a PyThermostat: Modify PIDAutotune for GUI usage
This adds:

- An extra ready PIDAutotuneState and corresponding state transitions
- A setter for autotune parameters, allowing change after construction
2025-01-20 16:29:35 +08:00
f12562e248 PyThermostat: Refactor PIDAutotuneState
- Use auto() for PIDAutotuneState Enum
- Shorten if-conditional statements
2025-01-20 16:29:19 +08:00