{"action":"opened","number":319,"pull_request":{"url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319","id":58532871,"html_url":"https://github.com/Z-Wave-Me/home-automation/pull/319","diff_url":"https://github.com/Z-Wave-Me/home-automation/pull/319.diff","patch_url":"https://github.com/Z-Wave-Me/home-automation/pull/319.patch","issue_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/319","number":319,"state":"open","locked":false,"title":"Simplify the AutoLock logic","user":{"login":"bytedreamer","id":2985653,"avatar_url":"https://avatars.githubusercontent.com/u/2985653?v=3","gravatar_id":"","url":"https://api.github.com/users/bytedreamer","html_url":"https://github.com/bytedreamer","followers_url":"https://api.github.com/users/bytedreamer/followers","following_url":"https://api.github.com/users/bytedreamer/following{/other_user}","gists_url":"https://api.github.com/users/bytedreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/bytedreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytedreamer/subscriptions","organizations_url":"https://api.github.com/users/bytedreamer/orgs","repos_url":"https://api.github.com/users/bytedreamer/repos","events_url":"https://api.github.com/users/bytedreamer/events{/privacy}","received_events_url":"https://api.github.com/users/bytedreamer/received_events","type":"User","site_admin":false},"body":"For some reason, my lock stop automatically locking when the door sensor was set to off. The issue started when I switched door contact sensors.\r\n\r\nI made some modification that resolved my issue. I believe that there it was a timing issue. ","created_at":"2016-02-06T22:57:21Z","updated_at":"2016-02-06T22:57:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319/commits","review_comments_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319/comments","review_comment_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/319/comments","statuses_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/statuses/6eba15a69cf4b53bbec667d5b8f924b12be6f173","head":{"label":"bytedreamer:autolock","ref":"autolock","sha":"6eba15a69cf4b53bbec667d5b8f924b12be6f173","user":{"login":"bytedreamer","id":2985653,"avatar_url":"https://avatars.githubusercontent.com/u/2985653?v=3","gravatar_id":"","url":"https://api.github.com/users/bytedreamer","html_url":"https://github.com/bytedreamer","followers_url":"https://api.github.com/users/bytedreamer/followers","following_url":"https://api.github.com/users/bytedreamer/following{/other_user}","gists_url":"https://api.github.com/users/bytedreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/bytedreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytedreamer/subscriptions","organizations_url":"https://api.github.com/users/bytedreamer/orgs","repos_url":"https://api.github.com/users/bytedreamer/repos","events_url":"https://api.github.com/users/bytedreamer/events{/privacy}","received_events_url":"https://api.github.com/users/bytedreamer/received_events","type":"User","site_admin":false},"repo":{"id":38215893,"name":"home-automation","full_name":"bytedreamer/home-automation","owner":{"login":"bytedreamer","id":2985653,"avatar_url":"https://avatars.githubusercontent.com/u/2985653?v=3","gravatar_id":"","url":"https://api.github.com/users/bytedreamer","html_url":"https://github.com/bytedreamer","followers_url":"https://api.github.com/users/bytedreamer/followers","following_url":"https://api.github.com/users/bytedreamer/following{/other_user}","gists_url":"https://api.github.com/users/bytedreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/bytedreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytedreamer/subscriptions","organizations_url":"https://api.github.com/users/bytedreamer/orgs","repos_url":"https://api.github.com/users/bytedreamer/repos","events_url":"https://api.github.com/users/bytedreamer/events{/privacy}","received_events_url":"https://api.github.com/users/bytedreamer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bytedreamer/home-automation","description":"Z-Way Home Automation engine","fork":true,"url":"https://api.github.com/repos/bytedreamer/home-automation","forks_url":"https://api.github.com/repos/bytedreamer/home-automation/forks","keys_url":"https://api.github.com/repos/bytedreamer/home-automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bytedreamer/home-automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bytedreamer/home-automation/teams","hooks_url":"https://api.github.com/repos/bytedreamer/home-automation/hooks","issue_events_url":"https://api.github.com/repos/bytedreamer/home-automation/issues/events{/number}","events_url":"https://api.github.com/repos/bytedreamer/home-automation/events","assignees_url":"https://api.github.com/repos/bytedreamer/home-automation/assignees{/user}","branches_url":"https://api.github.com/repos/bytedreamer/home-automation/branches{/branch}","tags_url":"https://api.github.com/repos/bytedreamer/home-automation/tags","blobs_url":"https://api.github.com/repos/bytedreamer/home-automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bytedreamer/home-automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bytedreamer/home-automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/bytedreamer/home-automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bytedreamer/home-automation/statuses/{sha}","languages_url":"https://api.github.com/repos/bytedreamer/home-automation/languages","stargazers_url":"https://api.github.com/repos/bytedreamer/home-automation/stargazers","contributors_url":"https://api.github.com/repos/bytedreamer/home-automation/contributors","subscribers_url":"https://api.github.com/repos/bytedreamer/home-automation/subscribers","subscription_url":"https://api.github.com/repos/bytedreamer/home-automation/subscription","commits_url":"https://api.github.com/repos/bytedreamer/home-automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/bytedreamer/home-automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/bytedreamer/home-automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/bytedreamer/home-automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/bytedreamer/home-automation/contents/{+path}","compare_url":"https://api.github.com/repos/bytedreamer/home-automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bytedreamer/home-automation/merges","archive_url":"https://api.github.com/repos/bytedreamer/home-automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bytedreamer/home-automation/downloads","issues_url":"https://api.github.com/repos/bytedreamer/home-automation/issues{/number}","pulls_url":"https://api.github.com/repos/bytedreamer/home-automation/pulls{/number}","milestones_url":"https://api.github.com/repos/bytedreamer/home-automation/milestones{/number}","notifications_url":"https://api.github.com/repos/bytedreamer/home-automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bytedreamer/home-automation/labels{/name}","releases_url":"https://api.github.com/repos/bytedreamer/home-automation/releases{/id}","deployments_url":"https://api.github.com/repos/bytedreamer/home-automation/deployments","created_at":"2015-06-28T22:02:49Z","updated_at":"2015-06-28T22:02:50Z","pushed_at":"2016-02-06T22:52:59Z","git_url":"git://github.com/bytedreamer/home-automation.git","ssh_url":"git@github.com:bytedreamer/home-automation.git","clone_url":"https://github.com/bytedreamer/home-automation.git","svn_url":"https://github.com/bytedreamer/home-automation","homepage":null,"size":19228,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Z-Wave-Me:develop","ref":"develop","sha":"12545615afd5f87b50ae5d40d138270e2b02b3e3","user":{"login":"Z-Wave-Me","id":3664444,"avatar_url":"https://avatars.githubusercontent.com/u/3664444?v=3","gravatar_id":"","url":"https://api.github.com/users/Z-Wave-Me","html_url":"https://github.com/Z-Wave-Me","followers_url":"https://api.github.com/users/Z-Wave-Me/followers","following_url":"https://api.github.com/users/Z-Wave-Me/following{/other_user}","gists_url":"https://api.github.com/users/Z-Wave-Me/gists{/gist_id}","starred_url":"https://api.github.com/users/Z-Wave-Me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Z-Wave-Me/subscriptions","organizations_url":"https://api.github.com/users/Z-Wave-Me/orgs","repos_url":"https://api.github.com/users/Z-Wave-Me/repos","events_url":"https://api.github.com/users/Z-Wave-Me/events{/privacy}","received_events_url":"https://api.github.com/users/Z-Wave-Me/received_events","type":"Organization","site_admin":false},"repo":{"id":12211315,"name":"home-automation","full_name":"Z-Wave-Me/home-automation","owner":{"login":"Z-Wave-Me","id":3664444,"avatar_url":"https://avatars.githubusercontent.com/u/3664444?v=3","gravatar_id":"","url":"https://api.github.com/users/Z-Wave-Me","html_url":"https://github.com/Z-Wave-Me","followers_url":"https://api.github.com/users/Z-Wave-Me/followers","following_url":"https://api.github.com/users/Z-Wave-Me/following{/other_user}","gists_url":"https://api.github.com/users/Z-Wave-Me/gists{/gist_id}","starred_url":"https://api.github.com/users/Z-Wave-Me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Z-Wave-Me/subscriptions","organizations_url":"https://api.github.com/users/Z-Wave-Me/orgs","repos_url":"https://api.github.com/users/Z-Wave-Me/repos","events_url":"https://api.github.com/users/Z-Wave-Me/events{/privacy}","received_events_url":"https://api.github.com/users/Z-Wave-Me/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Z-Wave-Me/home-automation","description":"Z-Way Home Automation engine","fork":false,"url":"https://api.github.com/repos/Z-Wave-Me/home-automation","forks_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/forks","keys_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/teams","hooks_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/hooks","issue_events_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/events{/number}","events_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/events","assignees_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/assignees{/user}","branches_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/branches{/branch}","tags_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/tags","blobs_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/statuses/{sha}","languages_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/languages","stargazers_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/stargazers","contributors_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/contributors","subscribers_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/subscribers","subscription_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/subscription","commits_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/contents/{+path}","compare_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/merges","archive_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/downloads","issues_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues{/number}","pulls_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls{/number}","milestones_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/milestones{/number}","notifications_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/labels{/name}","releases_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/releases{/id}","deployments_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/deployments","created_at":"2013-08-19T08:36:54Z","updated_at":"2016-01-29T19:57:21Z","pushed_at":"2016-02-05T16:09:15Z","git_url":"git://github.com/Z-Wave-Me/home-automation.git","ssh_url":"git@github.com:Z-Wave-Me/home-automation.git","clone_url":"https://github.com/Z-Wave-Me/home-automation.git","svn_url":"https://github.com/Z-Wave-Me/home-automation","homepage":null,"size":19382,"stargazers_count":82,"watchers_count":82,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":62,"forks":62,"open_issues":62,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319"},"html":{"href":"https://github.com/Z-Wave-Me/home-automation/pull/319"},"issue":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/319"},"comments":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/statuses/6eba15a69cf4b53bbec667d5b8f924b12be6f173"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":28,"changed_files":1}}