I’ve managed to answer my own question.
I created a virtual switch in SmartThings which then turned up as a switch in Alexa.
I then cobbled together a rule using examples here, and advice about adding arguments here that:
- Waits for the virtual switch to turn on
- Executes command setOvenSetpoint on the main oven with argument 200
Now when the oven is running, turning the virtual device to “on” in Alexa changes the main oven temperature to 200. It’s now trivial to set up a voice command to turn the switch on and, after a few seconds, turn it off again.
Now for trying some other settings to see if I can create the presets I’m looking for.
Phew!
Andy