{"action":"created","comment":{"url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/comments/79324014","id":79324014,"diff_hunk":"@@ -27,106 +76,126 @@ def __init__(self, id=False, type=False, name=\"unknown\", sensor_unit=False):\n         self.type = type\n         self.name = name\n         self.sensor_unit = sensor_unit\n+        self.latest_reading = None\n+        self.latest_setting = None\n \n     def create_reading(self, **kwargs):\n+        \"\"\"\n+            Gets reading from the sensor.","path":"baa_messages/components/sensor.py","position":79,"original_position":79,"commit_id":"2ab304af0cac2ff68365b9c5ad62d8ed728727d8","original_commit_id":"2ab304af0cac2ff68365b9c5ad62d8ed728727d8","user":{"login":"jkwong80","id":21044819,"avatar_url":"https://avatars.githubusercontent.com/u/21044819?v=3","gravatar_id":"","url":"https://api.github.com/users/jkwong80","html_url":"https://github.com/jkwong80","followers_url":"https://api.github.com/users/jkwong80/followers","following_url":"https://api.github.com/users/jkwong80/following{/other_user}","gists_url":"https://api.github.com/users/jkwong80/gists{/gist_id}","starred_url":"https://api.github.com/users/jkwong80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkwong80/subscriptions","organizations_url":"https://api.github.com/users/jkwong80/orgs","repos_url":"https://api.github.com/users/jkwong80/repos","events_url":"https://api.github.com/users/jkwong80/events{/privacy}","received_events_url":"https://api.github.com/users/jkwong80/received_events","type":"User","site_admin":false},"body":"ok thanks. I'll add this.","created_at":"2016-09-19T03:06:23Z","updated_at":"2016-09-19T03:06:24Z","html_url":"https://github.com/berkeleyapplied/baa_messages/pull/15#discussion_r79324014","pull_request_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/comments/79324014"},"html":{"href":"https://github.com/berkeleyapplied/baa_messages/pull/15#discussion_r79324014"},"pull_request":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15","id":84332903,"html_url":"https://github.com/berkeleyapplied/baa_messages/pull/15","diff_url":"https://github.com/berkeleyapplied/baa_messages/pull/15.diff","patch_url":"https://github.com/berkeleyapplied/baa_messages/pull/15.patch","issue_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/15","number":15,"state":"open","locked":false,"title":"Jk documentation","user":{"login":"jkwong80","id":21044819,"avatar_url":"https://avatars.githubusercontent.com/u/21044819?v=3","gravatar_id":"","url":"https://api.github.com/users/jkwong80","html_url":"https://github.com/jkwong80","followers_url":"https://api.github.com/users/jkwong80/followers","following_url":"https://api.github.com/users/jkwong80/following{/other_user}","gists_url":"https://api.github.com/users/jkwong80/gists{/gist_id}","starred_url":"https://api.github.com/users/jkwong80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkwong80/subscriptions","organizations_url":"https://api.github.com/users/jkwong80/orgs","repos_url":"https://api.github.com/users/jkwong80/repos","events_url":"https://api.github.com/users/jkwong80/events{/privacy}","received_events_url":"https://api.github.com/users/jkwong80/received_events","type":"User","site_admin":false},"body":"Added docstrings to \r\nbaa_messages/awssetup/iot.py\r\nbaa_messages/components/sensor_unit.py\r\nbaa_messages/components/sensor.py\r\nbaa_messages/publisher/mqtt.py\r\nbaa_messages/publisher/publisher.py\r\ntest/test_codec.py\r\ntest/test_sensor.py\r\n\r\n\r\n","created_at":"2016-09-07T16:27:46Z","updated_at":"2016-09-19T03:06:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15/commits","review_comments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15/comments","review_comment_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/15/comments","statuses_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/statuses/2ab304af0cac2ff68365b9c5ad62d8ed728727d8","head":{"label":"berkeleyapplied:jk-documentation","ref":"jk-documentation","sha":"2ab304af0cac2ff68365b9c5ad62d8ed728727d8","user":{"login":"berkeleyapplied","id":9554969,"avatar_url":"https://avatars.githubusercontent.com/u/9554969?v=3","gravatar_id":"","url":"https://api.github.com/users/berkeleyapplied","html_url":"https://github.com/berkeleyapplied","followers_url":"https://api.github.com/users/berkeleyapplied/followers","following_url":"https://api.github.com/users/berkeleyapplied/following{/other_user}","gists_url":"https://api.github.com/users/berkeleyapplied/gists{/gist_id}","starred_url":"https://api.github.com/users/berkeleyapplied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkeleyapplied/subscriptions","organizations_url":"https://api.github.com/users/berkeleyapplied/orgs","repos_url":"https://api.github.com/users/berkeleyapplied/repos","events_url":"https://api.github.com/users/berkeleyapplied/events{/privacy}","received_events_url":"https://api.github.com/users/berkeleyapplied/received_events","type":"Organization","site_admin":false},"repo":{"id":64798615,"name":"baa_messages","full_name":"berkeleyapplied/baa_messages","owner":{"login":"berkeleyapplied","id":9554969,"avatar_url":"https://avatars.githubusercontent.com/u/9554969?v=3","gravatar_id":"","url":"https://api.github.com/users/berkeleyapplied","html_url":"https://github.com/berkeleyapplied","followers_url":"https://api.github.com/users/berkeleyapplied/followers","following_url":"https://api.github.com/users/berkeleyapplied/following{/other_user}","gists_url":"https://api.github.com/users/berkeleyapplied/gists{/gist_id}","starred_url":"https://api.github.com/users/berkeleyapplied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkeleyapplied/subscriptions","organizations_url":"https://api.github.com/users/berkeleyapplied/orgs","repos_url":"https://api.github.com/users/berkeleyapplied/repos","events_url":"https://api.github.com/users/berkeleyapplied/events{/privacy}","received_events_url":"https://api.github.com/users/berkeleyapplied/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/berkeleyapplied/baa_messages","description":null,"fork":false,"url":"https://api.github.com/repos/berkeleyapplied/baa_messages","forks_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/forks","keys_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/teams","hooks_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/hooks","issue_events_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/events{/number}","events_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/events","assignees_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/assignees{/user}","branches_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/branches{/branch}","tags_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/tags","blobs_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/statuses/{sha}","languages_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/languages","stargazers_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/stargazers","contributors_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/contributors","subscribers_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/subscribers","subscription_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/subscription","commits_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/contents/{+path}","compare_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/merges","archive_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/downloads","issues_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues{/number}","pulls_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls{/number}","milestones_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/milestones{/number}","notifications_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/labels{/name}","releases_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/releases{/id}","deployments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/deployments","created_at":"2016-08-02T23:16:04Z","updated_at":"2016-08-09T19:55:25Z","pushed_at":"2016-09-17T00:02:02Z","git_url":"git://github.com/berkeleyapplied/baa_messages.git","ssh_url":"git@github.com:berkeleyapplied/baa_messages.git","clone_url":"https://github.com/berkeleyapplied/baa_messages.git","svn_url":"https://github.com/berkeleyapplied/baa_messages","homepage":null,"size":6154,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"berkeleyapplied:dev","ref":"dev","sha":"fc6086982c18a30f6e023792969910b8dc61dda3","user":{"login":"berkeleyapplied","id":9554969,"avatar_url":"https://avatars.githubusercontent.com/u/9554969?v=3","gravatar_id":"","url":"https://api.github.com/users/berkeleyapplied","html_url":"https://github.com/berkeleyapplied","followers_url":"https://api.github.com/users/berkeleyapplied/followers","following_url":"https://api.github.com/users/berkeleyapplied/following{/other_user}","gists_url":"https://api.github.com/users/berkeleyapplied/gists{/gist_id}","starred_url":"https://api.github.com/users/berkeleyapplied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkeleyapplied/subscriptions","organizations_url":"https://api.github.com/users/berkeleyapplied/orgs","repos_url":"https://api.github.com/users/berkeleyapplied/repos","events_url":"https://api.github.com/users/berkeleyapplied/events{/privacy}","received_events_url":"https://api.github.com/users/berkeleyapplied/received_events","type":"Organization","site_admin":false},"repo":{"id":64798615,"name":"baa_messages","full_name":"berkeleyapplied/baa_messages","owner":{"login":"berkeleyapplied","id":9554969,"avatar_url":"https://avatars.githubusercontent.com/u/9554969?v=3","gravatar_id":"","url":"https://api.github.com/users/berkeleyapplied","html_url":"https://github.com/berkeleyapplied","followers_url":"https://api.github.com/users/berkeleyapplied/followers","following_url":"https://api.github.com/users/berkeleyapplied/following{/other_user}","gists_url":"https://api.github.com/users/berkeleyapplied/gists{/gist_id}","starred_url":"https://api.github.com/users/berkeleyapplied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkeleyapplied/subscriptions","organizations_url":"https://api.github.com/users/berkeleyapplied/orgs","repos_url":"https://api.github.com/users/berkeleyapplied/repos","events_url":"https://api.github.com/users/berkeleyapplied/events{/privacy}","received_events_url":"https://api.github.com/users/berkeleyapplied/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/berkeleyapplied/baa_messages","description":null,"fork":false,"url":"https://api.github.com/repos/berkeleyapplied/baa_messages","forks_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/forks","keys_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/teams","hooks_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/hooks","issue_events_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/events{/number}","events_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/events","assignees_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/assignees{/user}","branches_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/branches{/branch}","tags_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/tags","blobs_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/refs{/sha}","trees_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/statuses/{sha}","languages_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/languages","stargazers_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/stargazers","contributors_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/contributors","subscribers_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/subscribers","subscription_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/subscription","commits_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/commits{/sha}","git_commits_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/git/commits{/sha}","comments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/comments{/number}","issue_comment_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/comments{/number}","contents_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/contents/{+path}","compare_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/merges","archive_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/downloads","issues_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues{/number}","pulls_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls{/number}","milestones_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/milestones{/number}","notifications_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/labels{/name}","releases_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/releases{/id}","deployments_url":"https://api.github.com/repos/berkeleyapplied/baa_messages/deployments","created_at":"2016-08-02T23:16:04Z","updated_at":"2016-08-09T19:55:25Z","pushed_at":"2016-09-17T00:02:02Z","git_url":"git://github.com/berkeleyapplied/baa_messages.git","ssh_url":"git@github.com:berkeleyapplied/baa_messages.git","clone_url":"https://github.com/berkeleyapplied/baa_messages.git","svn_url":"https://github.com/berkeleyapplied/baa_messages","homepage":null,"size":6154,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15"},"html":{"href":"https://github.com/berkeleyapplied/baa_messages/pull/15"},"issue":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/15"},"comments":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/berkeleyapplied/baa_messages/statuses/2ab304af0cac2ff68365b9c5ad62d8ed728727d8"}}}}
{"actor":{"display_login":"jkwong80"}}