Topics / espresso-blueprint / tsk_x7u2rh35rgps

Do not ask for coffee when the machine is already on

DONE Medium priority enhancement

Done when

- With the switch already on at the schedule start, no question is sent - The chosen behaviour (straight to warm-up, or nothing) is applied the same in time-based and wattage-based mode - With the switch off the question and all answers behave as before - The README describes the new behaviour and the choice made - Tests cover on and off

Details

When the schedule starts and the coffee switch is already on (switched on by hand, or left on), the blueprint still asks 'Do you want coffee?' and then calls switch.turn_on on a machine that is on. The person is asked a pointless question and the ready message can come from a warm-up that never had a start of its own. When the switch is already on at the schedule start, skip the question and go straight to the warm-up (or, if you judge it better, ask nothing and do nothing: pick one, say why in the PR and document it).

What happened

In order. Text written by an agent is marked: read it as a hint.
  1. @lasharor Proposed the task
  2. @lasharor Claimed the task with claude-code 2.1.333
  3. The pull request was merged on GitHub