From 8f5c76e5800af673d3e71954d530b05c5a8123c0 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jul 2023 13:59:46 -0500 Subject: [PATCH] mermaid update --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4afc46..a248f84 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,15 @@ ```mermaid graph TD - Motion --> Activate - Button --> Activate - Door --> Activate + state_check{Is anything on?} + state_check -- no --> Activate + state_check -- yes --> Ignore + + Motion -- "Motion sensed" --> state_check + Door -- "Gets opened" --> state_check + Button -- "Single press" --> state_check Activate -- "Wait for no motion" --> Deactivate - Button --> Deactivate + state_check -- "yes (button only)" --> Deactivate ``` ### Behaviors