{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/comments/225545901","pull_request_review_id":165167353,"id":225545901,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTU0NTkwMQ==","diff_hunk":"@@ -210,6 +213,7 @@ class PhilipsHueDevice extends Device {\n             '@type': 'OnOffProperty',\n             label: 'On/Off',\n             type: 'boolean',\n+            readOnly: true,","path":"philips-hue-adapter.js","position":40,"original_position":40,"commit_id":"477bf97403d66decbd965d60934286659bf3f2a4","original_commit_id":"477bf97403d66decbd965d60934286659bf3f2a4","user":{"login":"mrstegeman","id":457381,"node_id":"MDQ6VXNlcjQ1NzM4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/457381?v=4","gravatar_id":"","url":"https://api.github.com/users/mrstegeman","html_url":"https://github.com/mrstegeman","followers_url":"https://api.github.com/users/mrstegeman/followers","following_url":"https://api.github.com/users/mrstegeman/following{/other_user}","gists_url":"https://api.github.com/users/mrstegeman/gists{/gist_id}","starred_url":"https://api.github.com/users/mrstegeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrstegeman/subscriptions","organizations_url":"https://api.github.com/users/mrstegeman/orgs","repos_url":"https://api.github.com/users/mrstegeman/repos","events_url":"https://api.github.com/users/mrstegeman/events{/privacy}","received_events_url":"https://api.github.com/users/mrstegeman/received_events","type":"User","site_admin":false},"body":"I'm assuming that change was supposed to be for the daylight sensor.","created_at":"2018-10-16T13:46:13Z","updated_at":"2018-10-16T13:46:13Z","html_url":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31#discussion_r225545901","pull_request_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/comments/225545901"},"html":{"href":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31#discussion_r225545901"},"pull_request":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31"}},"in_reply_to_id":225542150},"pull_request":{"url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31","id":222673607,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjczNjA3","html_url":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31","diff_url":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31.diff","patch_url":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31.patch","issue_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/31","number":31,"state":"open","locked":false,"title":"Make presence sensors a motion sensor","user":{"login":"freaktechnik","id":640949,"node_id":"MDQ6VXNlcjY0MDk0OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/640949?v=4","gravatar_id":"","url":"https://api.github.com/users/freaktechnik","html_url":"https://github.com/freaktechnik","followers_url":"https://api.github.com/users/freaktechnik/followers","following_url":"https://api.github.com/users/freaktechnik/following{/other_user}","gists_url":"https://api.github.com/users/freaktechnik/gists{/gist_id}","starred_url":"https://api.github.com/users/freaktechnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freaktechnik/subscriptions","organizations_url":"https://api.github.com/users/freaktechnik/orgs","repos_url":"https://api.github.com/users/freaktechnik/repos","events_url":"https://api.github.com/users/freaktechnik/events{/privacy}","received_events_url":"https://api.github.com/users/freaktechnik/received_events","type":"User","site_admin":false},"body":"This fixes #30. Side effects are that the home/away \"sensor\" also turns into a motion sensor.","created_at":"2018-10-13T20:24:17Z","updated_at":"2018-10-16T13:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee8f0d78967482f84bef78c28968c10289a2ddc9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":832487671,"node_id":"MDU6TGFiZWw4MzI0ODc2NzE=","url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31/commits","review_comments_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31/comments","review_comment_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/31/comments","statuses_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/statuses/477bf97403d66decbd965d60934286659bf3f2a4","head":{"label":"freaktechnik:feat-motionsensorcap","ref":"feat-motionsensorcap","sha":"477bf97403d66decbd965d60934286659bf3f2a4","user":{"login":"freaktechnik","id":640949,"node_id":"MDQ6VXNlcjY0MDk0OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/640949?v=4","gravatar_id":"","url":"https://api.github.com/users/freaktechnik","html_url":"https://github.com/freaktechnik","followers_url":"https://api.github.com/users/freaktechnik/followers","following_url":"https://api.github.com/users/freaktechnik/following{/other_user}","gists_url":"https://api.github.com/users/freaktechnik/gists{/gist_id}","starred_url":"https://api.github.com/users/freaktechnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freaktechnik/subscriptions","organizations_url":"https://api.github.com/users/freaktechnik/orgs","repos_url":"https://api.github.com/users/freaktechnik/repos","events_url":"https://api.github.com/users/freaktechnik/events{/privacy}","received_events_url":"https://api.github.com/users/freaktechnik/received_events","type":"User","site_admin":false},"repo":{"id":152909712,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI5MDk3MTI=","name":"philips-hue-adapter","full_name":"freaktechnik/philips-hue-adapter","private":false,"owner":{"login":"freaktechnik","id":640949,"node_id":"MDQ6VXNlcjY0MDk0OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/640949?v=4","gravatar_id":"","url":"https://api.github.com/users/freaktechnik","html_url":"https://github.com/freaktechnik","followers_url":"https://api.github.com/users/freaktechnik/followers","following_url":"https://api.github.com/users/freaktechnik/following{/other_user}","gists_url":"https://api.github.com/users/freaktechnik/gists{/gist_id}","starred_url":"https://api.github.com/users/freaktechnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freaktechnik/subscriptions","organizations_url":"https://api.github.com/users/freaktechnik/orgs","repos_url":"https://api.github.com/users/freaktechnik/repos","events_url":"https://api.github.com/users/freaktechnik/events{/privacy}","received_events_url":"https://api.github.com/users/freaktechnik/received_events","type":"User","site_admin":false},"html_url":"https://github.com/freaktechnik/philips-hue-adapter","description":"Mozilla IoT Philips Hue Adapter","fork":true,"url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter","forks_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/forks","keys_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/teams","hooks_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/hooks","issue_events_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/events","assignees_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/tags","blobs_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/languages","stargazers_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/stargazers","contributors_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/contributors","subscribers_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/subscribers","subscription_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/subscription","commits_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/merges","archive_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/downloads","issues_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/labels{/name}","releases_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/releases{/id}","deployments_url":"https://api.github.com/repos/freaktechnik/philips-hue-adapter/deployments","created_at":"2018-10-13T20:02:21Z","updated_at":"2018-10-13T20:02:23Z","pushed_at":"2018-10-13T20:33:08Z","git_url":"git://github.com/freaktechnik/philips-hue-adapter.git","ssh_url":"git@github.com:freaktechnik/philips-hue-adapter.git","clone_url":"https://github.com/freaktechnik/philips-hue-adapter.git","svn_url":"https://github.com/freaktechnik/philips-hue-adapter","homepage":"","size":80,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-iot:master","ref":"master","sha":"dbd21413a76564fc3abc48a6bfc15430df31fbe0","user":{"login":"mozilla-iot","id":20707259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzA3MjU5","avatar_url":"https://avatars0.githubusercontent.com/u/20707259?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-iot","html_url":"https://github.com/mozilla-iot","followers_url":"https://api.github.com/users/mozilla-iot/followers","following_url":"https://api.github.com/users/mozilla-iot/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-iot/subscriptions","organizations_url":"https://api.github.com/users/mozilla-iot/orgs","repos_url":"https://api.github.com/users/mozilla-iot/repos","events_url":"https://api.github.com/users/mozilla-iot/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-iot/received_events","type":"Organization","site_admin":false},"repo":{"id":102497559,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI0OTc1NTk=","name":"philips-hue-adapter","full_name":"mozilla-iot/philips-hue-adapter","private":false,"owner":{"login":"mozilla-iot","id":20707259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzA3MjU5","avatar_url":"https://avatars0.githubusercontent.com/u/20707259?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-iot","html_url":"https://github.com/mozilla-iot","followers_url":"https://api.github.com/users/mozilla-iot/followers","following_url":"https://api.github.com/users/mozilla-iot/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-iot/subscriptions","organizations_url":"https://api.github.com/users/mozilla-iot/orgs","repos_url":"https://api.github.com/users/mozilla-iot/repos","events_url":"https://api.github.com/users/mozilla-iot/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-iot/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla-iot/philips-hue-adapter","description":"Mozilla IoT Philips Hue Adapter","fork":false,"url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter","forks_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/forks","keys_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/teams","hooks_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/hooks","issue_events_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/events","assignees_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/tags","blobs_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/languages","stargazers_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/stargazers","contributors_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/contributors","subscribers_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/subscribers","subscription_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/subscription","commits_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/merges","archive_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/downloads","issues_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/deployments","created_at":"2017-09-05T15:19:43Z","updated_at":"2018-09-12T07:54:40Z","pushed_at":"2018-10-13T20:37:53Z","git_url":"git://github.com/mozilla-iot/philips-hue-adapter.git","ssh_url":"git@github.com:mozilla-iot/philips-hue-adapter.git","clone_url":"https://github.com/mozilla-iot/philips-hue-adapter.git","svn_url":"https://github.com/mozilla-iot/philips-hue-adapter","homepage":"","size":75,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":6,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31"},"html":{"href":"https://github.com/mozilla-iot/philips-hue-adapter/pull/31"},"issue":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/31"},"comments":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-iot/philips-hue-adapter/statuses/477bf97403d66decbd965d60934286659bf3f2a4"}},"author_association":"NONE"}}
{"actor":{"display_login":"mrstegeman"}}