mermaid update
This commit is contained in:
12
README.md
12
README.md
@@ -2,11 +2,15 @@
|
|||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
graph TD
|
graph TD
|
||||||
Motion --> Activate
|
state_check{Is anything on?}
|
||||||
Button --> Activate
|
state_check -- no --> Activate
|
||||||
Door --> 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
|
Activate -- "Wait for no motion" --> Deactivate
|
||||||
Button --> Deactivate
|
state_check -- "yes (button only)" --> Deactivate
|
||||||
```
|
```
|
||||||
|
|
||||||
### Behaviors
|
### Behaviors
|
||||||
|
|||||||
Reference in New Issue
Block a user