diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-04 16:42:52 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:04:59 +0300 |
commit | a26684a417729699e95b335a3d00798237ffba9b (patch) | |
tree | 6cd73bc90fbe5fd435b8cc721455d0a70420a4ac /tests/test4 | |
parent | b845e4754be86d2216733d9bea75cb301f38739d (diff) | |
download | MEGATRON-a26684a417729699e95b335a3d00798237ffba9b.tar.gz |
added the if statement
Diffstat (limited to 'tests/test4')
-rw-r--r-- | tests/test4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test4 b/tests/test4 index 579e54d..4610e2c 100644 --- a/tests/test4 +++ b/tests/test4 @@ -19,6 +19,8 @@ machine temp_switch starting on A; transitions [ - from ( !A && !light_on ) to B on event A execute kek; + from A to B on event A + if !light_bulb.light_on + execute kek; ]; ]; |