Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Countertop state constants #86

Open
slifty opened this issue Sep 6, 2020 · 1 comment
Open

Countertop state constants #86

slifty opened this issue Sep 6, 2020 · 1 comment

Comments

@slifty
Copy link
Member

slifty commented Sep 6, 2020

Task

Description

I'd like the various countertop components to store their current state (e.g. STARTED STOPPED ... other things?)

I could see this being useful some day for health monitoring as well.

This feels like it would be appropriate for base-constants if it is possible that states would ever be exposed via something like getState().

Relevant Resources / Research

Some possible states we would want to keep track of:

  • STARTED
  • STOPPED
  • STARTING
  • STOPPING
  • ERRORED

Related Issues

None.

@Laurian
Copy link

Laurian commented Sep 6, 2020

  • STARTED -> COOKING
  • STOPPED -> READY
  • STARTING -> WARMING
  • STOPPING -> COOLING
  • ERRORED -> BURNED

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants