31 lines
457 B
JSON
31 lines
457 B
JSON
|
{
|
||
|
"name": "BASENAME.up-hold",
|
||
|
"conditions": [
|
||
|
{
|
||
|
"address": "/sensors/DIMMER/state/buttonevent",
|
||
|
"operator": "eq",
|
||
|
"value": "2001"
|
||
|
},
|
||
|
{
|
||
|
"address": "/sensors/DIMMER/state/lastupdated",
|
||
|
"operator": "dx"
|
||
|
}
|
||
|
],
|
||
|
"actions": [
|
||
|
{
|
||
|
"address": "/groups/GROUP1/action",
|
||
|
"method": "PUT",
|
||
|
"body": {
|
||
|
"ct_inc": -24
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"address": "/groups/GROUP2/action",
|
||
|
"method": "PUT",
|
||
|
"body": {
|
||
|
"ct_inc": -24
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|