Marijn78

Untitled

Mar 13th, 2021
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "conditions": [{
  3.             "address": "/sensors/38/state/buttonevent",
  4.             "operator": "eq",
  5.             "value": "4000"
  6.         },
  7.         {
  8.             "address": "/sensors/38/state/lastupdated",
  9.             "operator": "dx"
  10.         }
  11.     ],
  12.     "actions": [{
  13.             "address": "/sensors/30/state",
  14.             "method": "PUT",
  15.             "body": {
  16.                 "status": 2
  17.             }
  18.         },
  19.         {
  20.             "address": "/groups/1/action",
  21.             "method": "PUT",
  22.             "body": {
  23.                 "bri": 0
  24.             }
  25.         }
  26.     ]
  27. }
RAW Paste Data