{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/62418241","id":62418241,"diff_hunk":"@@ -0,0 +1,41 @@\n+<link rel=\"import\" href=\"../../bower_components/polymer/polymer.html\">\n+\n+<link rel=\"import\" href=\"../components/state-info.html\">\n+\n+<dom-module id=\"state-card-hvac\">\n+  <style is=\"custom-style\" include=\"iron-flex iron-flex-alignment\"></style>\n+  <style>\n+  :host {\n+    @apply(--paper-font-body1);\n+    line-height: 1.5;\n+  }\n+\n+  .state {\n+    margin-left: 16px;\n+    text-align: right;\n+  }\n+\n+  .target {\n+    color: var(--primary-text-color);\n+  }\n+\n+  .current {\n+    color: var(--secondary-text-color);\n+  }\n+  </style>\n+  <template>\n+    <div class='horizontal justified layout'>\n+      <state-info state-obj=\"[[stateObj]]\" in-dialog='[[inDialog]]'></state-info>\n+      <div class='state'>\n+        <div class='target'>[[computeTargetTemperature(stateObj)]]</div>\n+\n+        <div class='current'>\n+          <span>Currently: </span>\n+          <span>[[stateObj.attributes.current_temperature]]</span>","path":"src/state-summary/state-card-hvac.html","position":34,"original_position":34,"commit_id":"9d7b6fe1b3665f97fb810dce03df38823df539ad","original_commit_id":"9d7b6fe1b3665f97fb810dce03df38823df539ad","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":"You are rendering the same in this card as the default state card content so there is no need to create a custom state card.","created_at":"2016-05-07T16:03:13Z","updated_at":"2016-05-07T16:03:13Z","html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/53#discussion_r62418241","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments/62418241"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/53#discussion_r62418241"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53","id":67713055,"html_url":"https://github.com/home-assistant/home-assistant-polymer/pull/53","diff_url":"https://github.com/home-assistant/home-assistant-polymer/pull/53.diff","patch_url":"https://github.com/home-assistant/home-assistant-polymer/pull/53.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/53","number":53,"state":"open","locked":false,"title":"Initial HVAC frontend","user":{"login":"turbokongen","id":16622752,"avatar_url":"https://avatars.githubusercontent.com/u/16622752?v=3","gravatar_id":"","url":"https://api.github.com/users/turbokongen","html_url":"https://github.com/turbokongen","followers_url":"https://api.github.com/users/turbokongen/followers","following_url":"https://api.github.com/users/turbokongen/following{/other_user}","gists_url":"https://api.github.com/users/turbokongen/gists{/gist_id}","starred_url":"https://api.github.com/users/turbokongen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbokongen/subscriptions","organizations_url":"https://api.github.com/users/turbokongen/orgs","repos_url":"https://api.github.com/users/turbokongen/repos","events_url":"https://api.github.com/users/turbokongen/events{/privacy}","received_events_url":"https://api.github.com/users/turbokongen/received_events","type":"User","site_admin":false},"body":"Support for hvac component.\r\n","created_at":"2016-04-25T12:44:09Z","updated_at":"2016-05-07T16:03:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a57fcdf0521e2cc8bb1d494032b5a2ac2a4dd64a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/53/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/9d7b6fe1b3665f97fb810dce03df38823df539ad","head":{"label":"turbokongen:hvac","ref":"hvac","sha":"9d7b6fe1b3665f97fb810dce03df38823df539ad","user":{"login":"turbokongen","id":16622752,"avatar_url":"https://avatars.githubusercontent.com/u/16622752?v=3","gravatar_id":"","url":"https://api.github.com/users/turbokongen","html_url":"https://github.com/turbokongen","followers_url":"https://api.github.com/users/turbokongen/followers","following_url":"https://api.github.com/users/turbokongen/following{/other_user}","gists_url":"https://api.github.com/users/turbokongen/gists{/gist_id}","starred_url":"https://api.github.com/users/turbokongen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbokongen/subscriptions","organizations_url":"https://api.github.com/users/turbokongen/orgs","repos_url":"https://api.github.com/users/turbokongen/repos","events_url":"https://api.github.com/users/turbokongen/events{/privacy}","received_events_url":"https://api.github.com/users/turbokongen/received_events","type":"User","site_admin":false},"repo":{"id":50527447,"name":"home-assistant-polymer","full_name":"turbokongen/home-assistant-polymer","owner":{"login":"turbokongen","id":16622752,"avatar_url":"https://avatars.githubusercontent.com/u/16622752?v=3","gravatar_id":"","url":"https://api.github.com/users/turbokongen","html_url":"https://github.com/turbokongen","followers_url":"https://api.github.com/users/turbokongen/followers","following_url":"https://api.github.com/users/turbokongen/following{/other_user}","gists_url":"https://api.github.com/users/turbokongen/gists{/gist_id}","starred_url":"https://api.github.com/users/turbokongen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbokongen/subscriptions","organizations_url":"https://api.github.com/users/turbokongen/orgs","repos_url":"https://api.github.com/users/turbokongen/repos","events_url":"https://api.github.com/users/turbokongen/events{/privacy}","received_events_url":"https://api.github.com/users/turbokongen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/turbokongen/home-assistant-polymer","description":"Polymer frontend for Home Assistant","fork":true,"url":"https://api.github.com/repos/turbokongen/home-assistant-polymer","forks_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/forks","keys_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/teams","hooks_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/hooks","issue_events_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/issues/events{/number}","events_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/events","assignees_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/assignees{/user}","branches_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/branches{/branch}","tags_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/tags","blobs_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/languages","stargazers_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/stargazers","contributors_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/contributors","subscribers_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/subscribers","subscription_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/subscription","commits_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/contents/{+path}","compare_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/merges","archive_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/downloads","issues_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/issues{/number}","pulls_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/labels{/name}","releases_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/releases{/id}","deployments_url":"https://api.github.com/repos/turbokongen/home-assistant-polymer/deployments","created_at":"2016-01-27T18:11:44Z","updated_at":"2016-01-27T18:11:45Z","pushed_at":"2016-04-30T12:53:39Z","git_url":"git://github.com/turbokongen/home-assistant-polymer.git","ssh_url":"git@github.com:turbokongen/home-assistant-polymer.git","clone_url":"https://github.com/turbokongen/home-assistant-polymer.git","svn_url":"https://github.com/turbokongen/home-assistant-polymer","homepage":"https://home-assistant.io","size":855,"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":"home-assistant:master","ref":"master","sha":"40027eaac6858d563f89d10544a451bd758351c5","user":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":38982731,"name":"home-assistant-polymer","full_name":"home-assistant/home-assistant-polymer","owner":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant-polymer","description":"Polymer frontend for Home Assistant","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant-polymer","forks_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant-polymer/deployments","created_at":"2015-07-12T23:58:06Z","updated_at":"2016-05-03T18:12:36Z","pushed_at":"2016-05-07T15:07:36Z","git_url":"git://github.com/home-assistant/home-assistant-polymer.git","ssh_url":"git@github.com:home-assistant/home-assistant-polymer.git","clone_url":"https://github.com/home-assistant/home-assistant-polymer.git","svn_url":"https://github.com/home-assistant/home-assistant-polymer","homepage":"https://home-assistant.io","size":1012,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":6,"forks":44,"open_issues":6,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53"},"html":{"href":"https://github.com/home-assistant/home-assistant-polymer/pull/53"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/53"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant-polymer/statuses/9d7b6fe1b3665f97fb810dce03df38823df539ad"}}}}