Skip to content

Instantly share code, notes, and snippets.

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