{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5","id":51927726,"html_url":"https://github.com/pranalli/SmartThingsPublic/pull/5","diff_url":"https://github.com/pranalli/SmartThingsPublic/pull/5.diff","patch_url":"https://github.com/pranalli/SmartThingsPublic/pull/5.patch","issue_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/5","number":5,"state":"open","locked":false,"title":"Added ability to select a routine to be run","user":{"login":"steve28","id":5874433,"avatar_url":"https://avatars.githubusercontent.com/u/5874433?v=3","gravatar_id":"","url":"https://api.github.com/users/steve28","html_url":"https://github.com/steve28","followers_url":"https://api.github.com/users/steve28/followers","following_url":"https://api.github.com/users/steve28/following{/other_user}","gists_url":"https://api.github.com/users/steve28/gists{/gist_id}","starred_url":"https://api.github.com/users/steve28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve28/subscriptions","organizations_url":"https://api.github.com/users/steve28/orgs","repos_url":"https://api.github.com/users/steve28/repos","events_url":"https://api.github.com/users/steve28/events{/privacy}","received_events_url":"https://api.github.com/users/steve28/received_events","type":"User","site_admin":false},"body":"Hello!  This is a great idea - I love it!  I made some mods you might like. I added the ability for a routine to be run - this required using a dynamic page for the prefs.  \r\n\r\nAlso, I couldn't figure out exactly what was happening in the toggleSwitches() function.  I figure it's no big deal to send an OFF command to a switch that's already off, and the same for sending an ON command to a switch that's already on.   I may have missed something there, so let me know what you think.","created_at":"2015-11-26T15:59:03Z","updated_at":"2015-11-26T15:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"452bee6bd4311574fe4fb2a71827e7a68c7ee61a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5/commits","review_comments_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5/comments","review_comment_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/5/comments","statuses_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/statuses/9b6d1be75d819b09a831e19a19a4b8b9b97a517f","head":{"label":"steve28:double-duty-dev","ref":"double-duty-dev","sha":"9b6d1be75d819b09a831e19a19a4b8b9b97a517f","user":{"login":"steve28","id":5874433,"avatar_url":"https://avatars.githubusercontent.com/u/5874433?v=3","gravatar_id":"","url":"https://api.github.com/users/steve28","html_url":"https://github.com/steve28","followers_url":"https://api.github.com/users/steve28/followers","following_url":"https://api.github.com/users/steve28/following{/other_user}","gists_url":"https://api.github.com/users/steve28/gists{/gist_id}","starred_url":"https://api.github.com/users/steve28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve28/subscriptions","organizations_url":"https://api.github.com/users/steve28/orgs","repos_url":"https://api.github.com/users/steve28/repos","events_url":"https://api.github.com/users/steve28/events{/privacy}","received_events_url":"https://api.github.com/users/steve28/received_events","type":"User","site_admin":false},"repo":{"id":43271138,"name":"SmartThingsPublic","full_name":"steve28/SmartThingsPublic","owner":{"login":"steve28","id":5874433,"avatar_url":"https://avatars.githubusercontent.com/u/5874433?v=3","gravatar_id":"","url":"https://api.github.com/users/steve28","html_url":"https://github.com/steve28","followers_url":"https://api.github.com/users/steve28/followers","following_url":"https://api.github.com/users/steve28/following{/other_user}","gists_url":"https://api.github.com/users/steve28/gists{/gist_id}","starred_url":"https://api.github.com/users/steve28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve28/subscriptions","organizations_url":"https://api.github.com/users/steve28/orgs","repos_url":"https://api.github.com/users/steve28/repos","events_url":"https://api.github.com/users/steve28/events{/privacy}","received_events_url":"https://api.github.com/users/steve28/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steve28/SmartThingsPublic","description":"","fork":true,"url":"https://api.github.com/repos/steve28/SmartThingsPublic","forks_url":"https://api.github.com/repos/steve28/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/steve28/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steve28/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steve28/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/steve28/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/steve28/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/steve28/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/steve28/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/steve28/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/steve28/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/steve28/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steve28/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steve28/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/steve28/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steve28/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/steve28/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/steve28/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/steve28/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/steve28/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/steve28/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/steve28/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/steve28/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/steve28/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/steve28/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/steve28/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/steve28/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steve28/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/steve28/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steve28/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/steve28/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/steve28/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/steve28/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/steve28/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steve28/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/steve28/SmartThingsPublic/releases{/id}","created_at":"2015-09-28T00:16:32Z","updated_at":"2015-09-28T00:16:35Z","pushed_at":"2015-11-26T15:53:25Z","git_url":"git://github.com/steve28/SmartThingsPublic.git","ssh_url":"git@github.com:steve28/SmartThingsPublic.git","clone_url":"https://github.com/steve28/SmartThingsPublic.git","svn_url":"https://github.com/steve28/SmartThingsPublic","homepage":null,"size":1450,"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":"pranalli:master","ref":"master","sha":"5e727b9359f78467de5b59b9bbd8792324bfa05a","user":{"login":"pranalli","id":2817788,"avatar_url":"https://avatars.githubusercontent.com/u/2817788?v=3","gravatar_id":"","url":"https://api.github.com/users/pranalli","html_url":"https://github.com/pranalli","followers_url":"https://api.github.com/users/pranalli/followers","following_url":"https://api.github.com/users/pranalli/following{/other_user}","gists_url":"https://api.github.com/users/pranalli/gists{/gist_id}","starred_url":"https://api.github.com/users/pranalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranalli/subscriptions","organizations_url":"https://api.github.com/users/pranalli/orgs","repos_url":"https://api.github.com/users/pranalli/repos","events_url":"https://api.github.com/users/pranalli/events{/privacy}","received_events_url":"https://api.github.com/users/pranalli/received_events","type":"User","site_admin":false},"repo":{"id":42587701,"name":"SmartThingsPublic","full_name":"pranalli/SmartThingsPublic","owner":{"login":"pranalli","id":2817788,"avatar_url":"https://avatars.githubusercontent.com/u/2817788?v=3","gravatar_id":"","url":"https://api.github.com/users/pranalli","html_url":"https://github.com/pranalli","followers_url":"https://api.github.com/users/pranalli/followers","following_url":"https://api.github.com/users/pranalli/following{/other_user}","gists_url":"https://api.github.com/users/pranalli/gists{/gist_id}","starred_url":"https://api.github.com/users/pranalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranalli/subscriptions","organizations_url":"https://api.github.com/users/pranalli/orgs","repos_url":"https://api.github.com/users/pranalli/repos","events_url":"https://api.github.com/users/pranalli/events{/privacy}","received_events_url":"https://api.github.com/users/pranalli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pranalli/SmartThingsPublic","description":"","fork":true,"url":"https://api.github.com/repos/pranalli/SmartThingsPublic","forks_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/pranalli/SmartThingsPublic/releases{/id}","created_at":"2015-09-16T13:07:57Z","updated_at":"2015-10-26T22:46:20Z","pushed_at":"2015-11-26T15:59:05Z","git_url":"git://github.com/pranalli/SmartThingsPublic.git","ssh_url":"git@github.com:pranalli/SmartThingsPublic.git","clone_url":"https://github.com/pranalli/SmartThingsPublic.git","svn_url":"https://github.com/pranalli/SmartThingsPublic","homepage":null,"size":1320,"stargazers_count":2,"watchers_count":2,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"MSA-12-1"}},"_links":{"self":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5"},"html":{"href":"https://github.com/pranalli/SmartThingsPublic/pull/5"},"issue":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/5"},"comments":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/pranalli/SmartThingsPublic/statuses/9b6d1be75d819b09a831e19a19a4b8b9b97a517f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":22,"changed_files":1}}