Skip to content

Instantly share code, notes, and snippets.

@quentinchap
Last active February 21, 2018 18:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
{
"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