24 lines
352 B
JSON
24 lines
352 B
JSON
|
{
|
||
|
"name": "BASENAME.off-short",
|
||
|
"conditions": [
|
||
|
{
|
||
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||
|
"operator": "eq",
|
||
|
"value": "4002"
|
||
|
},
|
||
|
{
|
||
|
"address": "/sensors/DIMMER/state/lastupdated",
|
||
|
"operator": "dx"
|
||
|
}
|
||
|
],
|
||
|
"actions": [
|
||
|
{
|
||
|
"address": "/groups/GROUP/action",
|
||
|
"method": "PUT",
|
||
|
"body": {
|
||
|
"on": false
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|