aboutsummaryrefslogtreecommitdiff
path: root/example/minimal
diff options
context:
space:
mode:
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