Skip to content

v0.50.3 — Manual Fire honours step conditions + projection bar fills

Choose a tag to compare

@dmellok dmellok released this 18 Jun 00:30

Fixed

  • Manual "Fire now" button on rotations now respects per-step conditions. The autonomous scheduler tick already walked past steps whose conditions failed (e.g. a 3D-print step gated by `binary_sensor.octoprint_printing == on` would skip when the printer was idle). The manual Fire button called `_fire_rotation` straight from the time-based step index, so a user hitting Fire while the gated step was time-current would push it regardless of the entity state. Routed manual Fire through the same eligibility path the tick uses; the per-step "Play this step" button keeps its bypass since explicit intent is the whole point.

  • Rotation projection bar fills the full 24h window. The timeline preview's inner loop was capped at 200 iterations, so a 5-min-dwell rotation covered only 1000 of 1440 minutes (~69% of the bar). Cap is now proportional to the window.

Test coverage

Two new regression tests in `tests/test_rotation_routes.py` reproducing both bugs against the previous behaviour.

Full Changelog: v0.50.2...v0.50.3