{"action":"opened","number":281,"pull_request":{"url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/281","id":47369273,"html_url":"https://github.com/Z-Wave-Me/home-automation/pull/281","diff_url":"https://github.com/Z-Wave-Me/home-automation/pull/281.diff","patch_url":"https://github.com/Z-Wave-Me/home-automation/pull/281.patch","issue_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/281","number":281,"state":"open","locked":false,"title":"Remove code that sets ThermostatMode when setting the ThermostatSetPoint","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":"Setting the ThermostatMode when updating the ThermostatSetPoint causes problems on my thermostat device. My 2gig CT100 has an Auto thermostat mode. I typically will keep it a Auto throughout the year, and change the temperature based on a schedule. The old code would update the thermostat to an unwanted mode. \r\n\r\nThe problem would also be with thermostats with two ThermostatSetPoints. There is a use case where both set points are changed on a schedule. The changing of the set point values shouldn't cause the thermostat mode to be changed.","created_at":"2015-10-11T15:36:49Z","updated_at":"2015-10-11T15:36:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"786e699c3f78cd644ea09dd952b4d7f440eb53df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/281/commits","review_comments_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/281/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/281/comments","statuses_url":"https://api.github.com/repos/Z-Wave-Me/home-automation/statuses/67cfc223c7dad0e7cd4f23ea2d6ca799171f4ff5","head":{"label":"bytedreamer:thermostat","ref":"thermostat","sha":"67cfc223c7dad0e7cd4f23ea2d6ca799171f4ff5","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}","created_at":"2015-06-28T22:02:49Z","updated_at":"2015-06-28T22:02:50Z","pushed_at":"2015-10-11T15:29:00Z","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":18647,"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":"8c363a3d9e5a78bc87534c079f21811103d74dcf","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}","created_at":"2013-08-19T08:36:54Z","updated_at":"2015-10-09T10:38:33Z","pushed_at":"2015-10-11T15:36:49Z","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":21949,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":49,"forks":44,"open_issues":49,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/281"},"html":{"href":"https://github.com/Z-Wave-Me/home-automation/pull/281"},"issue":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/281"},"comments":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/pulls/281/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/281/commits"},"statuses":{"href":"https://api.github.com/repos/Z-Wave-Me/home-automation/statuses/67cfc223c7dad0e7cd4f23ea2d6ca799171f4ff5"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":1,"changed_files":1}}