aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test b/test
new file mode 100644
index 0000000..3549fc5
--- /dev/null
+++ b/test
@@ -0,0 +1,12 @@
+machine temp_switch
+[
+ state above_treshold;
+ starting state below_treshold;
+
+ from below_treshold to above_treshold
+ on event above_temperature "10";
+ from above_treshold to below_treshold
+ on event below_temperature "9";
+ on state above_treshold
+ on event get_temp | html_encase | http_out ;
+];