aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-07-07 20:53:52 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-07-07 20:53:52 +0100
commitb659e33bb5798311c3f726c37a041ab2f94f4260 (patch)
tree22e050addd5d370c9219756d175ac3a791b5e5c9 /README.md
parent7cd8becb29c96a06f0c1b0cfb623ed5e98911613 (diff)
rename "actions" to "rules" and "outputs" to "actions"
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 79cddfb..7e8a2d4 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ For example,
```json
{
- "actions": {
+ "rules": {
"update Catbus UI": {
"triggers": [
{
@@ -22,7 +22,7 @@ For example,
}
}
],
- "outputs": [
+ "actions": [
{
"url": "https://build.eth.moe/deploy",
"formValues": {
@@ -40,7 +40,7 @@ For example,
}
}
],
- "outputs": [
+ "actions": [
{
"mqtt": "tcp://catbus.eth.moe/home/living-room/sofa-light/power",
"value": "on"