{"action":"created","comment":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments/52190615","id":52190615,"diff_hunk":"@@ -206,6 +211,11 @@ def state_attributes(self):\n         if is_fan_on is not None:\n             data[ATTR_FAN] = STATE_ON if is_fan_on else STATE_OFF\n \n+        device_attr = self.device_state_attributes","path":"homeassistant/components/thermostat/__init__.py","position":16,"original_position":16,"commit_id":"1e1d389745f41bef3d4b1c8c36c98e7f06d39e6f","original_commit_id":"1e1d389745f41bef3d4b1c8c36c98e7f06d39e6f","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"body":"Same, don't add this.","created_at":"2016-02-08T16:29:06Z","updated_at":"2016-02-08T16:29:06Z","html_url":"https://github.com/balloob/home-assistant/pull/1171#discussion_r52190615","pull_request_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1171","_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments/52190615"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1171#discussion_r52190615"},"pull_request":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1171"}}},"pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/1171","id":58580323,"html_url":"https://github.com/balloob/home-assistant/pull/1171","diff_url":"https://github.com/balloob/home-assistant/pull/1171.diff","patch_url":"https://github.com/balloob/home-assistant/pull/1171.patch","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1171","number":1171,"state":"open","locked":false,"title":"Make temperature tolerance in Heat Control thermostat user definable","user":{"login":"timstanley1985","id":6829542,"avatar_url":"https://avatars.githubusercontent.com/u/6829542?v=3","gravatar_id":"","url":"https://api.github.com/users/timstanley1985","html_url":"https://github.com/timstanley1985","followers_url":"https://api.github.com/users/timstanley1985/followers","following_url":"https://api.github.com/users/timstanley1985/following{/other_user}","gists_url":"https://api.github.com/users/timstanley1985/gists{/gist_id}","starred_url":"https://api.github.com/users/timstanley1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstanley1985/subscriptions","organizations_url":"https://api.github.com/users/timstanley1985/orgs","repos_url":"https://api.github.com/users/timstanley1985/repos","events_url":"https://api.github.com/users/timstanley1985/events{/privacy}","received_events_url":"https://api.github.com/users/timstanley1985/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-08T08:17:05Z","updated_at":"2016-02-08T16:29:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3658e01897fbc49d9818796a73375cc990946b4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1171/commits","review_comments_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1171/comments","review_comment_url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1171/comments","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/1e1d389745f41bef3d4b1c8c36c98e7f06d39e6f","head":{"label":"timstanley1985:dev","ref":"dev","sha":"1e1d389745f41bef3d4b1c8c36c98e7f06d39e6f","user":{"login":"timstanley1985","id":6829542,"avatar_url":"https://avatars.githubusercontent.com/u/6829542?v=3","gravatar_id":"","url":"https://api.github.com/users/timstanley1985","html_url":"https://github.com/timstanley1985","followers_url":"https://api.github.com/users/timstanley1985/followers","following_url":"https://api.github.com/users/timstanley1985/following{/other_user}","gists_url":"https://api.github.com/users/timstanley1985/gists{/gist_id}","starred_url":"https://api.github.com/users/timstanley1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstanley1985/subscriptions","organizations_url":"https://api.github.com/users/timstanley1985/orgs","repos_url":"https://api.github.com/users/timstanley1985/repos","events_url":"https://api.github.com/users/timstanley1985/events{/privacy}","received_events_url":"https://api.github.com/users/timstanley1985/received_events","type":"User","site_admin":false},"repo":{"id":51284744,"name":"home-assistant","full_name":"timstanley1985/home-assistant","owner":{"login":"timstanley1985","id":6829542,"avatar_url":"https://avatars.githubusercontent.com/u/6829542?v=3","gravatar_id":"","url":"https://api.github.com/users/timstanley1985","html_url":"https://github.com/timstanley1985","followers_url":"https://api.github.com/users/timstanley1985/followers","following_url":"https://api.github.com/users/timstanley1985/following{/other_user}","gists_url":"https://api.github.com/users/timstanley1985/gists{/gist_id}","starred_url":"https://api.github.com/users/timstanley1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstanley1985/subscriptions","organizations_url":"https://api.github.com/users/timstanley1985/orgs","repos_url":"https://api.github.com/users/timstanley1985/repos","events_url":"https://api.github.com/users/timstanley1985/events{/privacy}","received_events_url":"https://api.github.com/users/timstanley1985/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timstanley1985/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/timstanley1985/home-assistant","forks_url":"https://api.github.com/repos/timstanley1985/home-assistant/forks","keys_url":"https://api.github.com/repos/timstanley1985/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timstanley1985/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timstanley1985/home-assistant/teams","hooks_url":"https://api.github.com/repos/timstanley1985/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/timstanley1985/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/timstanley1985/home-assistant/events","assignees_url":"https://api.github.com/repos/timstanley1985/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/timstanley1985/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/timstanley1985/home-assistant/tags","blobs_url":"https://api.github.com/repos/timstanley1985/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timstanley1985/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timstanley1985/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/timstanley1985/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timstanley1985/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/timstanley1985/home-assistant/languages","stargazers_url":"https://api.github.com/repos/timstanley1985/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/timstanley1985/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/timstanley1985/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/timstanley1985/home-assistant/subscription","commits_url":"https://api.github.com/repos/timstanley1985/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/timstanley1985/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/timstanley1985/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/timstanley1985/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/timstanley1985/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/timstanley1985/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timstanley1985/home-assistant/merges","archive_url":"https://api.github.com/repos/timstanley1985/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timstanley1985/home-assistant/downloads","issues_url":"https://api.github.com/repos/timstanley1985/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/timstanley1985/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/timstanley1985/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/timstanley1985/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timstanley1985/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/timstanley1985/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/timstanley1985/home-assistant/deployments","created_at":"2016-02-08T07:41:35Z","updated_at":"2016-02-08T07:41:37Z","pushed_at":"2016-02-08T12:58:37Z","git_url":"git://github.com/timstanley1985/home-assistant.git","ssh_url":"git@github.com:timstanley1985/home-assistant.git","clone_url":"https://github.com/timstanley1985/home-assistant.git","svn_url":"https://github.com/timstanley1985/home-assistant","homepage":"https://home-assistant.io","size":41022,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"balloob:dev","ref":"dev","sha":"2e164e519a75309ec163d2b3f1fddd576d1aa876","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"repo":{"id":12888993,"name":"home-assistant","full_name":"balloob/home-assistant","owner":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balloob/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/balloob/home-assistant","forks_url":"https://api.github.com/repos/balloob/home-assistant/forks","keys_url":"https://api.github.com/repos/balloob/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balloob/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balloob/home-assistant/teams","hooks_url":"https://api.github.com/repos/balloob/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/balloob/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/balloob/home-assistant/events","assignees_url":"https://api.github.com/repos/balloob/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/balloob/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/balloob/home-assistant/tags","blobs_url":"https://api.github.com/repos/balloob/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balloob/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balloob/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/balloob/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/balloob/home-assistant/languages","stargazers_url":"https://api.github.com/repos/balloob/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/balloob/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/balloob/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/balloob/home-assistant/subscription","commits_url":"https://api.github.com/repos/balloob/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/balloob/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/balloob/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/balloob/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/balloob/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/balloob/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balloob/home-assistant/merges","archive_url":"https://api.github.com/repos/balloob/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balloob/home-assistant/downloads","issues_url":"https://api.github.com/repos/balloob/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/balloob/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/balloob/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/balloob/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balloob/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/balloob/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/balloob/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2016-02-08T13:28:49Z","pushed_at":"2016-02-08T12:58:37Z","git_url":"git://github.com/balloob/home-assistant.git","ssh_url":"git@github.com:balloob/home-assistant.git","clone_url":"https://github.com/balloob/home-assistant.git","svn_url":"https://github.com/balloob/home-assistant","homepage":"https://home-assistant.io","size":42012,"stargazers_count":2700,"watchers_count":2700,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":429,"mirror_url":null,"open_issues_count":145,"forks":429,"open_issues":145,"watchers":2700,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1171"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1171"},"issue":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1171"},"comments":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1171/comments"},"review_comments":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1171/comments"},"review_comment":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1171/commits"},"statuses":{"href":"https://api.github.com/repos/balloob/home-assistant/statuses/1e1d389745f41bef3d4b1c8c36c98e7f06d39e6f"}}}}