Skip to content

fix: report preheat on TurboBlaze (Replaces #560) - #575

Merged
webdjoe merged 1 commit into
air-fryer-refactorfrom
air-fryer-pr560
Nov 1, 2026
Merged

webdjoe merged 1 commit into
air-fryer-refactorfrom
air-fryer-pr560

Conversation

@webdjoe

@webdjoe webdjoe commented Nov 1, 2026

Copy link
Copy Markdown
Owner

TurboBlaze set_mode_from_recipe always set the local status to COOKING. A program with preheat runs the preheat phase first, so it now sets HEATING when the recipe has a preheat time. The DC601S capture reports heating with preheatSetTime/preheatLastTime while a preheat runs.

CS158 and TF101S now send readyStart false, like TurboBlaze, so a cook starts without the device's start button. The CS158 captures show readyStart false reporting cooking/heating at once. TF101S has no capture with readyStart false; its local status after start is now COOKING instead of READY, inferred from CS158.

From PR #560. The pullOut half of that PR was already fixed in 8cbc6f4.

Description

Type of change

  • Bug fix (fix:)
  • New feature or device support (feat:)
  • Documentation (docs:)
  • Refactor / test / chore (no functional change)

Checklist

  • This PR is a single feature, fix, or edit (not a bundle of unrelated changes).
  • The change follows the intended architecture (base class → device + API mixin → device map; state in DeviceState; models in models/; constants in pyvesync.const).
  • No API request/response fields were invented — all come from a real packet capture.
  • ruff check, pylint, mypy, and pytest pass locally.
  • Tests added/updated and API fixtures written (pytest --write_api) where relevant.
  • Documentation updated if behavior or public API changed.

TurboBlaze set_mode_from_recipe always set the local status to COOKING.
A program with preheat runs the preheat phase first, so it now sets
HEATING when the recipe has a preheat time. The DC601S capture reports
heating with preheatSetTime/preheatLastTime while a preheat runs.

CS158 and TF101S now send readyStart false, like TurboBlaze, so a cook
starts without the device's start button. The CS158 captures show
readyStart false reporting cooking/heating at once. TF101S has no capture
with readyStart false; its local status after start is now COOKING
instead of READY, inferred from CS158.

From PR #560. The pullOut half of that PR was already fixed in 8cbc6f4.

Co-authored-by: ScribleSean <56331494+ScribleSean@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@webdjoe
webdjoe merged commit 685d5ed into air-fryer-refactor Nov 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant