andr83 / hacs-anova-oven

Anova oven integration for Home Assistant
MIT License
11 stars 2 forks source link

Multistage cooks #8

Closed mcolyer closed 1 month ago

mcolyer commented 8 months ago

Checklist

Is your feature request related to a problem? Please describe.

It would be nice to be able to submit multi-step cooks to a service that handles that.

Describe the solution you'd like

I think it takes all the same inputs as start cooks but as an array.

Describe alternatives you've considered

Don't really think there's an easy workaround for this as cooks move between stages based on events on the oven (timer or temperature set points being reached)

Additional context

N/A

andr83 commented 8 months ago

The only reason I didn't add multistage cooking is a problem with UI for services in HA. There are no options to create multi stages description except raw coding in yaml. Possible workarounds:

  1. Use yaml configuration for stages.
  2. Have service configuration template with 3-4 preconfigured stages.
  3. Configure stages in the anova app and store them as presets.
mcolyer commented 8 months ago

I was thinking yaml would be fine, this is pretty advanced but you bring up a good point the UI isn't great. So maybe there should be two services so that there's an "easy" mode?

andr83 commented 3 months ago

Done in the master. Added new service "Custom cooking" where is possible to add raw stages configuration for Anova. Take current cooking as raw configuration is possible from "raw_stages" attribute on the "Mode" sensor.