Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Alarm transitions #13

Open
cmbuckley opened this issue Aug 13, 2022 · 1 comment
Open

Alarm transitions #13

cmbuckley opened this issue Aug 13, 2022 · 1 comment

Comments

@cmbuckley
Copy link
Owner

  • after displaying coming home message, when alarm is unset, mark as actioned by system
  • After displaying away message, when arriving home again, cancel the message (false positive)
  • After displaying away message, when alarm is set, mark as actioned by system
  • After displaying coming home message, when going away again, cancel the message
@cmbuckley
Copy link
Owner Author

Resulting logic:

  • when unsetting alarm, mark any coming home messages as actioned
  • When arriving home, cancel any messages about going away. if alarm is set, message and store
  • When setting alarm, mark any going away messages as actioned
  • When leaving home, cancel any messages about coming home. If alarm is not set, message and store

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

No branches or pull requests

1 participant