Skip to content

Instantly share code, notes, and snippets.

@quentinchap
Last active February 21, 2018 18:54
Show Gist options
  • Save quentinchap/c5d05f9f58735b12a3dbad8c08f13c42 to your computer and use it in GitHub Desktop.
Save quentinchap/c5d05f9f58735b12a3dbad8c08f13c42 to your computer and use it in GitHub Desktop.
{
"name": "couloir.Presence",
"conditions": [
{
"address": "/sensors/6/state/presence",
"operator": "eq",
"value": "true"
},
{
"address": "/sensors/6/state/presence",
"operator": "dx"
}
],
"actions": [
{
"address": "/sensors/10/state",
"method": "PUT",
"body": {
"status": 1
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment