{"action":"closed","number":355,"pull_request":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355","id":53358121,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/355","diff_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/355.diff","patch_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/355.patch","issue_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/355","number":355,"state":"closed","locked":false,"title":"multi: Fix invalid accelerometer readings during refresh","user":{"login":"tpmanley","id":144884,"avatar_url":"https://avatars.githubusercontent.com/u/144884?v=3","gravatar_id":"","url":"https://api.github.com/users/tpmanley","html_url":"https://github.com/tpmanley","followers_url":"https://api.github.com/users/tpmanley/followers","following_url":"https://api.github.com/users/tpmanley/following{/other_user}","gists_url":"https://api.github.com/users/tpmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/tpmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpmanley/subscriptions","organizations_url":"https://api.github.com/users/tpmanley/orgs","repos_url":"https://api.github.com/users/tpmanley/repos","events_url":"https://api.github.com/users/tpmanley/events{/privacy}","received_events_url":"https://api.github.com/users/tpmanley/received_events","type":"User","site_admin":false},"body":"The code can only correctly handle the accelerometer readings when they\r\nare all received in the same message. Individual reads of the attributes\r\nresults in individual read attribute responses which led to events with\r\nincorrect values. The most straightforward fix is to not read the attributes\r\nin the first place and rely on attribute reporting to report the values\r\nat the appropriate time.\r\n\r\nResolves:\r\nhttps://smartthings.atlassian.net/browse/DVCSMP-1315","created_at":"2015-12-11T06:27:34Z","updated_at":"2015-12-14T18:01:36Z","closed_at":"2015-12-14T18:01:36Z","merged_at":"2015-12-14T18:01:36Z","merge_commit_sha":"7e1aefa5cb138ca32aae9fe14dd615f13290072b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355/commits","review_comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355/comments","review_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/355/comments","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/fe4a2ed3d0ec2469a963b88c44d9ef348258a84b","head":{"label":"tpmanley:bugfix/wrong_xyz_values","ref":"bugfix/wrong_xyz_values","sha":"fe4a2ed3d0ec2469a963b88c44d9ef348258a84b","user":{"login":"tpmanley","id":144884,"avatar_url":"https://avatars.githubusercontent.com/u/144884?v=3","gravatar_id":"","url":"https://api.github.com/users/tpmanley","html_url":"https://github.com/tpmanley","followers_url":"https://api.github.com/users/tpmanley/followers","following_url":"https://api.github.com/users/tpmanley/following{/other_user}","gists_url":"https://api.github.com/users/tpmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/tpmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpmanley/subscriptions","organizations_url":"https://api.github.com/users/tpmanley/orgs","repos_url":"https://api.github.com/users/tpmanley/repos","events_url":"https://api.github.com/users/tpmanley/events{/privacy}","received_events_url":"https://api.github.com/users/tpmanley/received_events","type":"User","site_admin":false},"repo":{"id":42412781,"name":"SmartThingsPublic","full_name":"tpmanley/SmartThingsPublic","owner":{"login":"tpmanley","id":144884,"avatar_url":"https://avatars.githubusercontent.com/u/144884?v=3","gravatar_id":"","url":"https://api.github.com/users/tpmanley","html_url":"https://github.com/tpmanley","followers_url":"https://api.github.com/users/tpmanley/followers","following_url":"https://api.github.com/users/tpmanley/following{/other_user}","gists_url":"https://api.github.com/users/tpmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/tpmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpmanley/subscriptions","organizations_url":"https://api.github.com/users/tpmanley/orgs","repos_url":"https://api.github.com/users/tpmanley/repos","events_url":"https://api.github.com/users/tpmanley/events{/privacy}","received_events_url":"https://api.github.com/users/tpmanley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tpmanley/SmartThingsPublic","description":"","fork":true,"url":"https://api.github.com/repos/tpmanley/SmartThingsPublic","forks_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/tpmanley/SmartThingsPublic/releases{/id}","created_at":"2015-09-13T21:01:51Z","updated_at":"2015-09-13T21:01:52Z","pushed_at":"2015-12-11T06:25:15Z","git_url":"git://github.com/tpmanley/SmartThingsPublic.git","ssh_url":"git@github.com:tpmanley/SmartThingsPublic.git","clone_url":"https://github.com/tpmanley/SmartThingsPublic.git","svn_url":"https://github.com/tpmanley/SmartThingsPublic","homepage":null,"size":1473,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":"SmartThingsCommunity:master","ref":"master","sha":"e529624d362f12b22dc3af44a961f365ef39b85c","user":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":40212802,"name":"SmartThingsPublic","full_name":"SmartThingsCommunity/SmartThingsPublic","owner":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","description":"","fork":false,"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic","forks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/releases{/id}","created_at":"2015-08-04T22:48:02Z","updated_at":"2015-12-14T12:51:47Z","pushed_at":"2015-12-14T18:01:36Z","git_url":"git://github.com/SmartThingsCommunity/SmartThingsPublic.git","ssh_url":"git@github.com:SmartThingsCommunity/SmartThingsPublic.git","clone_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic.git","svn_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","homepage":null,"size":3079,"stargazers_count":112,"watchers_count":112,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1923,"mirror_url":null,"open_issues_count":120,"forks":1923,"open_issues":120,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/355"},"issue":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/355"},"comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/355/comments"},"review_comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355/comments"},"review_comment":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/355/commits"},"statuses":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/fe4a2ed3d0ec2469a963b88c44d9ef348258a84b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tpmanley","id":144884,"avatar_url":"https://avatars.githubusercontent.com/u/144884?v=3","gravatar_id":"","url":"https://api.github.com/users/tpmanley","html_url":"https://github.com/tpmanley","followers_url":"https://api.github.com/users/tpmanley/followers","following_url":"https://api.github.com/users/tpmanley/following{/other_user}","gists_url":"https://api.github.com/users/tpmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/tpmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpmanley/subscriptions","organizations_url":"https://api.github.com/users/tpmanley/orgs","repos_url":"https://api.github.com/users/tpmanley/repos","events_url":"https://api.github.com/users/tpmanley/events{/privacy}","received_events_url":"https://api.github.com/users/tpmanley/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":2,"deletions":14,"changed_files":1}}