{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/automategreen/home-controller/pulls/23","id":33713639,"html_url":"https://github.com/automategreen/home-controller/pull/23","diff_url":"https://github.com/automategreen/home-controller/pull/23.diff","patch_url":"https://github.com/automategreen/home-controller/pull/23.patch","issue_url":"https://api.github.com/repos/automategreen/home-controller/issues/23","number":23,"state":"open","locked":false,"title":"Added IO device and getDevice refactoring","user":{"login":"mark-hahn","id":811455,"avatar_url":"https://avatars.githubusercontent.com/u/811455?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-hahn","html_url":"https://github.com/mark-hahn","followers_url":"https://api.github.com/users/mark-hahn/followers","following_url":"https://api.github.com/users/mark-hahn/following{/other_user}","gists_url":"https://api.github.com/users/mark-hahn/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-hahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-hahn/subscriptions","organizations_url":"https://api.github.com/users/mark-hahn/orgs","repos_url":"https://api.github.com/users/mark-hahn/repos","events_url":"https://api.github.com/users/mark-hahn/events{/privacy}","received_events_url":"https://api.github.com/users/mark-hahn/received_events","type":"User","site_admin":false},"body":"Added IO sensors/actuators device, category 0x07.  I couldn't implement the sensor events since I only have an EZIO4O which is an output-only relay.  I have tested the actuator commands.\r\n\r\nI also refactored the device instantiation routines since they were all identical.\r\n","created_at":"2015-04-20T22:46:00Z","updated_at":"2015-04-20T22:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/automategreen/home-controller/pulls/23/commits","review_comments_url":"https://api.github.com/repos/automategreen/home-controller/pulls/23/comments","review_comment_url":"https://api.github.com/repos/automategreen/home-controller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/automategreen/home-controller/issues/23/comments","statuses_url":"https://api.github.com/repos/automategreen/home-controller/statuses/b593cdd1893c3bf9b5f3e8ce29164a8f16eebfa6","head":{"label":"mark-hahn:io","ref":"io","sha":"b593cdd1893c3bf9b5f3e8ce29164a8f16eebfa6","user":{"login":"mark-hahn","id":811455,"avatar_url":"https://avatars.githubusercontent.com/u/811455?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-hahn","html_url":"https://github.com/mark-hahn","followers_url":"https://api.github.com/users/mark-hahn/followers","following_url":"https://api.github.com/users/mark-hahn/following{/other_user}","gists_url":"https://api.github.com/users/mark-hahn/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-hahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-hahn/subscriptions","organizations_url":"https://api.github.com/users/mark-hahn/orgs","repos_url":"https://api.github.com/users/mark-hahn/repos","events_url":"https://api.github.com/users/mark-hahn/events{/privacy}","received_events_url":"https://api.github.com/users/mark-hahn/received_events","type":"User","site_admin":false},"repo":{"id":34224206,"name":"home-controller","full_name":"mark-hahn/home-controller","owner":{"login":"mark-hahn","id":811455,"avatar_url":"https://avatars.githubusercontent.com/u/811455?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-hahn","html_url":"https://github.com/mark-hahn","followers_url":"https://api.github.com/users/mark-hahn/followers","following_url":"https://api.github.com/users/mark-hahn/following{/other_user}","gists_url":"https://api.github.com/users/mark-hahn/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-hahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-hahn/subscriptions","organizations_url":"https://api.github.com/users/mark-hahn/orgs","repos_url":"https://api.github.com/users/mark-hahn/repos","events_url":"https://api.github.com/users/mark-hahn/events{/privacy}","received_events_url":"https://api.github.com/users/mark-hahn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mark-hahn/home-controller","description":"A node package to control Insteon home automation devices","fork":true,"url":"https://api.github.com/repos/mark-hahn/home-controller","forks_url":"https://api.github.com/repos/mark-hahn/home-controller/forks","keys_url":"https://api.github.com/repos/mark-hahn/home-controller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mark-hahn/home-controller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mark-hahn/home-controller/teams","hooks_url":"https://api.github.com/repos/mark-hahn/home-controller/hooks","issue_events_url":"https://api.github.com/repos/mark-hahn/home-controller/issues/events{/number}","events_url":"https://api.github.com/repos/mark-hahn/home-controller/events","assignees_url":"https://api.github.com/repos/mark-hahn/home-controller/assignees{/user}","branches_url":"https://api.github.com/repos/mark-hahn/home-controller/branches{/branch}","tags_url":"https://api.github.com/repos/mark-hahn/home-controller/tags","blobs_url":"https://api.github.com/repos/mark-hahn/home-controller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mark-hahn/home-controller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mark-hahn/home-controller/git/refs{/sha}","trees_url":"https://api.github.com/repos/mark-hahn/home-controller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mark-hahn/home-controller/statuses/{sha}","languages_url":"https://api.github.com/repos/mark-hahn/home-controller/languages","stargazers_url":"https://api.github.com/repos/mark-hahn/home-controller/stargazers","contributors_url":"https://api.github.com/repos/mark-hahn/home-controller/contributors","subscribers_url":"https://api.github.com/repos/mark-hahn/home-controller/subscribers","subscription_url":"https://api.github.com/repos/mark-hahn/home-controller/subscription","commits_url":"https://api.github.com/repos/mark-hahn/home-controller/commits{/sha}","git_commits_url":"https://api.github.com/repos/mark-hahn/home-controller/git/commits{/sha}","comments_url":"https://api.github.com/repos/mark-hahn/home-controller/comments{/number}","issue_comment_url":"https://api.github.com/repos/mark-hahn/home-controller/issues/comments{/number}","contents_url":"https://api.github.com/repos/mark-hahn/home-controller/contents/{+path}","compare_url":"https://api.github.com/repos/mark-hahn/home-controller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mark-hahn/home-controller/merges","archive_url":"https://api.github.com/repos/mark-hahn/home-controller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mark-hahn/home-controller/downloads","issues_url":"https://api.github.com/repos/mark-hahn/home-controller/issues{/number}","pulls_url":"https://api.github.com/repos/mark-hahn/home-controller/pulls{/number}","milestones_url":"https://api.github.com/repos/mark-hahn/home-controller/milestones{/number}","notifications_url":"https://api.github.com/repos/mark-hahn/home-controller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mark-hahn/home-controller/labels{/name}","releases_url":"https://api.github.com/repos/mark-hahn/home-controller/releases{/id}","created_at":"2015-04-19T20:59:24Z","updated_at":"2015-04-19T20:59:25Z","pushed_at":"2015-04-20T22:41:00Z","git_url":"git://github.com/mark-hahn/home-controller.git","ssh_url":"git@github.com:mark-hahn/home-controller.git","clone_url":"https://github.com/mark-hahn/home-controller.git","svn_url":"https://github.com/mark-hahn/home-controller","homepage":"","size":292,"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":"automategreen:master","ref":"master","sha":"0259951b703fedc9634b337568ae989f635ada56","user":{"login":"automategreen","id":5360990,"avatar_url":"https://avatars.githubusercontent.com/u/5360990?v=3","gravatar_id":"","url":"https://api.github.com/users/automategreen","html_url":"https://github.com/automategreen","followers_url":"https://api.github.com/users/automategreen/followers","following_url":"https://api.github.com/users/automategreen/following{/other_user}","gists_url":"https://api.github.com/users/automategreen/gists{/gist_id}","starred_url":"https://api.github.com/users/automategreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/automategreen/subscriptions","organizations_url":"https://api.github.com/users/automategreen/orgs","repos_url":"https://api.github.com/users/automategreen/repos","events_url":"https://api.github.com/users/automategreen/events{/privacy}","received_events_url":"https://api.github.com/users/automategreen/received_events","type":"Organization","site_admin":false},"repo":{"id":12530179,"name":"home-controller","full_name":"automategreen/home-controller","owner":{"login":"automategreen","id":5360990,"avatar_url":"https://avatars.githubusercontent.com/u/5360990?v=3","gravatar_id":"","url":"https://api.github.com/users/automategreen","html_url":"https://github.com/automategreen","followers_url":"https://api.github.com/users/automategreen/followers","following_url":"https://api.github.com/users/automategreen/following{/other_user}","gists_url":"https://api.github.com/users/automategreen/gists{/gist_id}","starred_url":"https://api.github.com/users/automategreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/automategreen/subscriptions","organizations_url":"https://api.github.com/users/automategreen/orgs","repos_url":"https://api.github.com/users/automategreen/repos","events_url":"https://api.github.com/users/automategreen/events{/privacy}","received_events_url":"https://api.github.com/users/automategreen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/automategreen/home-controller","description":"A node package to control Insteon home automation devices","fork":false,"url":"https://api.github.com/repos/automategreen/home-controller","forks_url":"https://api.github.com/repos/automategreen/home-controller/forks","keys_url":"https://api.github.com/repos/automategreen/home-controller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/automategreen/home-controller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/automategreen/home-controller/teams","hooks_url":"https://api.github.com/repos/automategreen/home-controller/hooks","issue_events_url":"https://api.github.com/repos/automategreen/home-controller/issues/events{/number}","events_url":"https://api.github.com/repos/automategreen/home-controller/events","assignees_url":"https://api.github.com/repos/automategreen/home-controller/assignees{/user}","branches_url":"https://api.github.com/repos/automategreen/home-controller/branches{/branch}","tags_url":"https://api.github.com/repos/automategreen/home-controller/tags","blobs_url":"https://api.github.com/repos/automategreen/home-controller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/automategreen/home-controller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/automategreen/home-controller/git/refs{/sha}","trees_url":"https://api.github.com/repos/automategreen/home-controller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/automategreen/home-controller/statuses/{sha}","languages_url":"https://api.github.com/repos/automategreen/home-controller/languages","stargazers_url":"https://api.github.com/repos/automategreen/home-controller/stargazers","contributors_url":"https://api.github.com/repos/automategreen/home-controller/contributors","subscribers_url":"https://api.github.com/repos/automategreen/home-controller/subscribers","subscription_url":"https://api.github.com/repos/automategreen/home-controller/subscription","commits_url":"https://api.github.com/repos/automategreen/home-controller/commits{/sha}","git_commits_url":"https://api.github.com/repos/automategreen/home-controller/git/commits{/sha}","comments_url":"https://api.github.com/repos/automategreen/home-controller/comments{/number}","issue_comment_url":"https://api.github.com/repos/automategreen/home-controller/issues/comments{/number}","contents_url":"https://api.github.com/repos/automategreen/home-controller/contents/{+path}","compare_url":"https://api.github.com/repos/automategreen/home-controller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/automategreen/home-controller/merges","archive_url":"https://api.github.com/repos/automategreen/home-controller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/automategreen/home-controller/downloads","issues_url":"https://api.github.com/repos/automategreen/home-controller/issues{/number}","pulls_url":"https://api.github.com/repos/automategreen/home-controller/pulls{/number}","milestones_url":"https://api.github.com/repos/automategreen/home-controller/milestones{/number}","notifications_url":"https://api.github.com/repos/automategreen/home-controller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/automategreen/home-controller/labels{/name}","releases_url":"https://api.github.com/repos/automategreen/home-controller/releases{/id}","created_at":"2013-09-02T02:03:14Z","updated_at":"2015-04-12T14:45:47Z","pushed_at":"2015-03-06T02:19:53Z","git_url":"git://github.com/automategreen/home-controller.git","ssh_url":"git@github.com:automategreen/home-controller.git","clone_url":"https://github.com/automategreen/home-controller.git","svn_url":"https://github.com/automategreen/home-controller","homepage":"","size":720,"stargazers_count":44,"watchers_count":44,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/automategreen/home-controller/pulls/23"},"html":{"href":"https://github.com/automategreen/home-controller/pull/23"},"issue":{"href":"https://api.github.com/repos/automategreen/home-controller/issues/23"},"comments":{"href":"https://api.github.com/repos/automategreen/home-controller/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/automategreen/home-controller/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/automategreen/home-controller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/automategreen/home-controller/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/automategreen/home-controller/statuses/b593cdd1893c3bf9b5f3e8ce29164a8f16eebfa6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":62,"deletions":67,"changed_files":3}}