Compare commits

...

No commits in common. "a17dfb12c6767134d5a95f4d886a14887030eb99" and "d4c606f619d60b49a6f27251ad809057b49cd5d2" have entirely different histories.

16 changed files with 82 additions and 82 deletions

View File

@ -1,20 +1,20 @@
{ {
"name": "%basename%.off", "name": "BASENAME.off",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%motion%/state/presence", "address": "/sensors/MOTION/state/presence",
"operator": "eq", "operator": "eq",
"value": "false" "value": "false"
}, },
{ {
"address": "/sensors/%motion%/state/lastupdated", "address": "/sensors/MOTION/state/lastupdated",
"operator": "ddx", "operator": "ddx",
"value": "PT00:03:00" "value": "PT00:03:00"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": false "on": false

View File

@ -1,13 +1,13 @@
{ {
"name": "%basename%.on-bright", "name": "BASENAME.on-bright",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%ambient%/state/daylight", "address": "/sensors/AMBIENT/state/daylight",
"operator": "eq", "operator": "eq",
"value": "false" "value": "false"
}, },
{ {
"address": "/groups/%group%/state/any_on", "address": "/groups/GROUP/state/any_on",
"operator": "eq", "operator": "eq",
"value": "false" "value": "false"
}, },
@ -17,18 +17,18 @@
"value": "T07:00:00/T00:00:00" "value": "T07:00:00/T00:00:00"
}, },
{ {
"address": "/sensors/%motion%/state/presence", "address": "/sensors/MOTION/state/presence",
"operator": "eq", "operator": "eq",
"value": "true" "value": "true"
}, },
{ {
"address": "/sensors/%motion%/state/lastupdated", "address": "/sensors/MOTION/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true, "on": true,

View File

@ -1,13 +1,13 @@
{ {
"name": "%basename%.on-dim", "name": "BASENAME.on-dim",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%ambient%/state/daylight", "address": "/sensors/AMBIENT/state/daylight",
"operator": "eq", "operator": "eq",
"value": "false" "value": "false"
}, },
{ {
"address": "/groups/%group%/state/any_on", "address": "/groups/GROUP/state/any_on",
"operator": "eq", "operator": "eq",
"value": "false" "value": "false"
}, },
@ -17,18 +17,18 @@
"value": "T00:00:00/T07:00:00" "value": "T00:00:00/T07:00:00"
}, },
{ {
"address": "/sensors/%motion%/state/presence", "address": "/sensors/MOTION/state/presence",
"operator": "eq", "operator": "eq",
"value": "true" "value": "true"
}, },
{ {
"address": "/sensors/%motion%/state/lastupdated", "address": "/sensors/MOTION/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true, "on": true,
@ -36,7 +36,7 @@
} }
}, },
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
} }

View File

@ -1,26 +1,26 @@
{ {
"name": "%basename%.dn-hold", "name": "BASENAME.dn-hold",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "3001" "value": "3001"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"ct_inc": 100 "ct_inc": 100
} }
}, },
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"ct_inc": 100 "ct_inc": 100

View File

@ -1,26 +1,26 @@
{ {
"name": "%basename%.dn-short", "name": "BASENAME.dn-short",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "3002" "value": "3002"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri_inc": -16 "bri_inc": -16
} }
}, },
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri_inc": -14 "bri_inc": -14

View File

@ -1,31 +1,31 @@
{ {
"name": "%basename%.off-short.1", "name": "BASENAME.off-short.1",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "4002" "value": "4002"
}, },
{ {
"address": "/sensors/%mem%/state/status", "address": "/sensors/MEM/state/status",
"operator": "eq", "operator": "eq",
"value": "1" "value": "1"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/sensors/%mem%/state", "address": "/sensors/MEM/state",
"method": "PUT", "method": "PUT",
"body": { "body": {
"status": 0 "status": 0
} }
}, },
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": false "on": false

View File

@ -1,31 +1,31 @@
{ {
"name": "%basename%.off-short.2", "name": "BASENAME.off-short.2",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "4002" "value": "4002"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
}, },
{ {
"address": "/sensors/%mem%/state/status", "address": "/sensors/MEM/state/status",
"operator": "gt", "operator": "gt",
"value": "1" "value": "1"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": false "on": false
} }
}, },
{ {
"address": "/sensors/%mem%/state", "address": "/sensors/MEM/state",
"method": "PUT", "method": "PUT",
"body": { "body": {
"status": 1 "status": 1

View File

@ -1,19 +1,19 @@
{ {
"name": "%basename%.on-long", "name": "BASENAME.on-long",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "1001" "value": "1001"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri": 203, "bri": 203,
@ -21,7 +21,7 @@
} }
}, },
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri": 203, "bri": 203,

View File

@ -1,31 +1,31 @@
{ {
"name": "%basename%.on-short.1", "name": "BASENAME.on-short.1",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "1002" "value": "1002"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
}, },
{ {
"address": "/sensors/%mem%/state/status", "address": "/sensors/MEM/state/status",
"operator": "lt", "operator": "lt",
"value": "1" "value": "1"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true "on": true
} }
}, },
{ {
"address": "/sensors/%mem%/state", "address": "/sensors/MEM/state",
"method": "PUT", "method": "PUT",
"body": { "body": {
"status": 1 "status": 1

View File

@ -1,31 +1,31 @@
{ {
"name": "%basename%.on-short.2", "name": "BASENAME.on-short.2",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "1002" "value": "1002"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
}, },
{ {
"address": "/sensors/%mem%/state/status", "address": "/sensors/MEM/state/status",
"operator": "eq", "operator": "eq",
"value": "1" "value": "1"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true "on": true
} }
}, },
{ {
"address": "/sensors/%mem%/state", "address": "/sensors/MEM/state",
"method": "PUT", "method": "PUT",
"body": { "body": {
"status": 2 "status": 2

View File

@ -1,26 +1,26 @@
{ {
"name": "%basename%.up-hold", "name": "BASENAME.up-hold",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "2001" "value": "2001"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"ct_inc": -100 "ct_inc": -100
} }
}, },
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"ct_inc": -100 "ct_inc": -100

View File

@ -1,26 +1,26 @@
{ {
"name": "%basename%.up-short", "name": "BASENAME.up-short",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%dimmer%/state/buttonevent", "address": "/sensors/DIMMER/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "2002" "value": "2002"
}, },
{ {
"address": "/sensors/%dimmer%/state/lastupdated", "address": "/sensors/DIMMER/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group1%/action", "address": "/groups/GROUP1/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri_inc": 16 "bri_inc": 16
} }
}, },
{ {
"address": "/groups/%group2%/action", "address": "/groups/GROUP2/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"bri_inc": 15 "bri_inc": 15

View File

@ -1,19 +1,19 @@
{ {
"name": "%basename%.1", "name": "BASENAME.1",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%tap%/state/buttonevent", "address": "/sensors/TAP/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "34" "value": "34"
}, },
{ {
"address": "/sensors/%tap%/state/lastupdated", "address": "/sensors/TAP/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": false "on": false

View File

@ -1,19 +1,19 @@
{ {
"name": "%basename%.2", "name": "BASENAME.2",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%tap%/state/buttonevent", "address": "/sensors/TAP/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "16" "value": "16"
}, },
{ {
"address": "/sensors/%tap%/state/lastupdated", "address": "/sensors/TAP/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true, "on": true,

View File

@ -1,19 +1,19 @@
{ {
"name": "%basename%.3", "name": "BASENAME.3",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%tap%/state/buttonevent", "address": "/sensors/TAP/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "17" "value": "17"
}, },
{ {
"address": "/sensors/%tap%/state/lastupdated", "address": "/sensors/TAP/state/lastupdated",
"operator": "dx" "operator": "dx"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true, "on": true,

View File

@ -1,19 +1,19 @@
{ {
"name": "%basename%.4", "name": "BASENAME.4",
"conditions": [ "conditions": [
{ {
"address": "/sensors/%tap%/state/lastupdated", "address": "/sensors/TAP/state/lastupdated",
"operator": "dx" "operator": "dx"
}, },
{ {
"address": "/sensors/%tap%/state/buttonevent", "address": "/sensors/TAP/state/buttonevent",
"operator": "eq", "operator": "eq",
"value": "18" "value": "18"
} }
], ],
"actions": [ "actions": [
{ {
"address": "/groups/%group%/action", "address": "/groups/GROUP/action",
"method": "PUT", "method": "PUT",
"body": { "body": {
"on": true, "on": true,