aboutsummaryrefslogtreecommitdiff
path: root/example/minimal
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-01-16 17:15:12 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-01-16 17:15:12 +0100
commit1cd168e9491d8405186090fce482a31f907aa7d1 (patch)
treef4bd228b13ec30b5781ba23b9c98fcf0d64af941 /example/minimal
parent8551865b4ab342d5f0dfdfafda313b3d8a4d8fa4 (diff)
downloadautomato-1cd168e9491d8405186090fce482a31f907aa7d1.tar.gz
HttpJsonState + examplesmain
Diffstat (limited to 'example/minimal')
-rw-r--r--example/minimal/actions.yml8
-rw-r--r--example/minimal/endpoints.yml5
-rw-r--r--example/minimal/triggers.yml2
3 files changed, 15 insertions, 0 deletions
diff --git a/example/minimal/actions.yml b/example/minimal/actions.yml
new file mode 100644
index 0000000..4d84a39
--- /dev/null
+++ b/example/minimal/actions.yml
@@ -0,0 +1,8 @@
+---
+example:
+ trigger:
+ - conditional:
+ interval: 10
+ when:
+ - True
+ then: []
diff --git a/example/minimal/endpoints.yml b/example/minimal/endpoints.yml
new file mode 100644
index 0000000..c083b90
--- /dev/null
+++ b/example/minimal/endpoints.yml
@@ -0,0 +1,5 @@
+host:
+ info: {}
+ transports: {}
+ commands: {}
+ states: {}
diff --git a/example/minimal/triggers.yml b/example/minimal/triggers.yml
new file mode 100644
index 0000000..35a4657
--- /dev/null
+++ b/example/minimal/triggers.yml
@@ -0,0 +1,2 @@
+conditional:
+ class: automato.trigger.ConditionalTrigger