diff options
Diffstat (limited to 'test')
-rw-r--r-- | test | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 ; +]; |