{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/199102163","pull_request_review_id":133155162,"id":199102163,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTEwMjE2Mw==","diff_hunk":"@@ -52,80 +58,46 @@\n \t\t</config-description>\n \t</thing-type>\n \n-\t<!-- Channel group types -->\n-\n-\t<channel-group-type id=\"Measurements\">\n-\t\t<label>Measurements</label>\n-\t\t<channels>\n-\t\t\t<channel id=\"co2_ppm\" typeId=\"Co2_ppm\" />\n-\t\t\t<channel id=\"humidity\" typeId=\"Humidity\" />\n-\t\t\t<channel id=\"aqi_cn\" typeId=\"Aqi_cn\" />\n-\t\t\t<channel id=\"aqi_us\" typeId=\"Aqi_us\" />\n-\t\t\t<channel id=\"pm_25\" typeId=\"Pm_25\" />\n-\t\t\t<channel id=\"temp_celsius\" typeId=\"Temp_celsius\" />\n-\t\t\t<channel id=\"temp_fahrenheit\" typeId=\"Temp_fahrenheit\" />\n-\t\t</channels>\n-\t</channel-group-type>\n-\n-\t<channel-group-type id=\"Status\">\n-\t\t<label>Status</label>\n-\t\t<channels>\n-\t\t\t<channel id=\"battery_level\" typeId=\"system.battery-level\" />\n-\t\t\t<channel id=\"wifi_strength\" typeId=\"system.signal-strength\" />\n-\t\t\t<channel id=\"timestamp\" typeId=\"Timestamp\" />\n-\t\t\t<channel id=\"used_memory\" typeId=\"Used_memory\" />\n-\t\t</channels>\n-\t</channel-group-type>\n-\n \t<!-- Channel types -->\n \n-\t<channel-type id=\"Co2_ppm\">\n-\t\t<item-type>Number</item-type>\n+\t<channel-type id=\"Co2\">\n+\t\t<item-type>Number:Dimensionless</item-type>\n \t\t<label>CO₂ Level</label>\n \t\t<description>CO&#8322; level, ppm</description>\n-\t\t<state readOnly=\"true\" pattern=\"%d ppm\" />\n+\t\t<category>CarbonDioxide</category>\n+\t\t<state readOnly=\"true\" pattern=\"%d %unit%\" />\n \t</channel-type>\n \n \t<channel-type id=\"Humidity\">\n-\t\t<item-type>Number</item-type>\n+\t\t<item-type>Number:Dimensionless</item-type>\n \t\t<label>Humidity</label>\n \t\t<description>Humidity, %</description>\n-\t\t<state readOnly=\"true\" pattern=\"%d %%\" />\n+\t\t<category>Humidity</category>\n+\t\t<state readOnly=\"true\" pattern=\"%d %unit%\" />\n \t</channel-type>\n \n-\t<channel-type id=\"Aqi_cn\">\n-\t\t<item-type>Number</item-type>\n-\t\t<label>AQI (CN)</label>\n-\t\t<description>Air Quality Index (Chinese)</description>\n-\t\t<state readOnly=\"true\" pattern=\"%d\" />\n-\t</channel-type>\n-\n-\t<channel-type id=\"Aqi_us\">\n-\t\t<item-type>Number</item-type>\n-\t\t<label>AQI (US)</label>\n+\t<channel-type id=\"Aqi\">\n+\t\t<item-type>Number:Dimensionless</item-type>\n+\t\t<label>AQI</label>\n \t\t<description>Air Quality Index (US)</description>\n+\t\t<category>Flow</category>\n \t\t<state readOnly=\"true\" pattern=\"%d\" />\n \t</channel-type>\n \n \t<channel-type id=\"Pm_25\">\n-\t\t<item-type>Number</item-type>\n+\t\t<item-type>Number:Density</item-type>\n \t\t<label>PM2.5</label>\n \t\t<description>PM2.5 level, μg/m&#179;</description>\n-\t\t<state readOnly=\"true\" pattern=\"%.1f μg/m&#179;\" />\n+\t\t<category>Flow</category>","path":"addons/binding/org.openhab.binding.airvisualnode/ESH-INF/thing/thing-types.xml","position":null,"original_position":112,"commit_id":"f0ba894e486b012ccb5e5a828b8766e00624a0a8","original_commit_id":"f0ba894e486b012ccb5e5a828b8766e00624a0a8","user":{"login":"triller-telekom","id":26876013,"node_id":"MDQ6VXNlcjI2ODc2MDEz","avatar_url":"https://avatars3.githubusercontent.com/u/26876013?v=4","gravatar_id":"","url":"https://api.github.com/users/triller-telekom","html_url":"https://github.com/triller-telekom","followers_url":"https://api.github.com/users/triller-telekom/followers","following_url":"https://api.github.com/users/triller-telekom/following{/other_user}","gists_url":"https://api.github.com/users/triller-telekom/gists{/gist_id}","starred_url":"https://api.github.com/users/triller-telekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triller-telekom/subscriptions","organizations_url":"https://api.github.com/users/triller-telekom/orgs","repos_url":"https://api.github.com/users/triller-telekom/repos","events_url":"https://api.github.com/users/triller-telekom/events{/privacy}","received_events_url":"https://api.github.com/users/triller-telekom/received_events","type":"User","site_admin":false},"body":"I am not sure if this is the right category. What is flowing here? Better leave it out.","created_at":"2018-06-29T09:18:44Z","updated_at":"2018-06-29T09:47:46Z","html_url":"https://github.com/openhab/openhab2-addons/pull/2805#discussion_r199102163","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/199102163"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/2805#discussion_r199102163"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805","id":148670061,"node_id":"MDExOlB1bGxSZXF1ZXN0MTQ4NjcwMDYx","html_url":"https://github.com/openhab/openhab2-addons/pull/2805","diff_url":"https://github.com/openhab/openhab2-addons/pull/2805.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/2805.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2805","number":2805,"state":"open","locked":false,"title":"[airvisualnode] Initial contribution for AirVisual Node Binding","user":{"login":"3cky","id":894050,"node_id":"MDQ6VXNlcjg5NDA1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/894050?v=4","gravatar_id":"","url":"https://api.github.com/users/3cky","html_url":"https://github.com/3cky","followers_url":"https://api.github.com/users/3cky/followers","following_url":"https://api.github.com/users/3cky/following{/other_user}","gists_url":"https://api.github.com/users/3cky/gists{/gist_id}","starred_url":"https://api.github.com/users/3cky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3cky/subscriptions","organizations_url":"https://api.github.com/users/3cky/orgs","repos_url":"https://api.github.com/users/3cky/repos","events_url":"https://api.github.com/users/3cky/events{/privacy}","received_events_url":"https://api.github.com/users/3cky/received_events","type":"User","site_admin":false},"body":"This binding integrates [AirVisual Node Air Quality Monitor](https://airvisual.com/node) with openHAB.\r\n\r\nFor complete information about this binding, please check [Readme.md](https://github.com/3cky/openhab2-addons/blob/airvisual-node-binding/addons/binding/org.openhab.binding.airvisualnode/README.md).\r\n\r\nSigned-off-by: Victor Antonovich <v.antonovich@gmail.com>\r\n","created_at":"2017-10-25T13:37:39Z","updated_at":"2018-06-29T09:47:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73dadbb6734461d2ceb4a117a2a16adc7fb0a324","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":159935827,"node_id":"MDU6TGFiZWwxNTk5MzU4Mjc=","url":"https://api.github.com/repos/openhab/openhab2-addons/labels/newbinding","name":"newbinding","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/2805/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/f0ba894e486b012ccb5e5a828b8766e00624a0a8","head":{"label":"3cky:airvisual-node-binding","ref":"airvisual-node-binding","sha":"f0ba894e486b012ccb5e5a828b8766e00624a0a8","user":{"login":"3cky","id":894050,"node_id":"MDQ6VXNlcjg5NDA1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/894050?v=4","gravatar_id":"","url":"https://api.github.com/users/3cky","html_url":"https://github.com/3cky","followers_url":"https://api.github.com/users/3cky/followers","following_url":"https://api.github.com/users/3cky/following{/other_user}","gists_url":"https://api.github.com/users/3cky/gists{/gist_id}","starred_url":"https://api.github.com/users/3cky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3cky/subscriptions","organizations_url":"https://api.github.com/users/3cky/orgs","repos_url":"https://api.github.com/users/3cky/repos","events_url":"https://api.github.com/users/3cky/events{/privacy}","received_events_url":"https://api.github.com/users/3cky/received_events","type":"User","site_admin":false},"repo":{"id":104935031,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ5MzUwMzE=","name":"openhab2-addons","full_name":"3cky/openhab2-addons","owner":{"login":"3cky","id":894050,"node_id":"MDQ6VXNlcjg5NDA1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/894050?v=4","gravatar_id":"","url":"https://api.github.com/users/3cky","html_url":"https://github.com/3cky","followers_url":"https://api.github.com/users/3cky/followers","following_url":"https://api.github.com/users/3cky/following{/other_user}","gists_url":"https://api.github.com/users/3cky/gists{/gist_id}","starred_url":"https://api.github.com/users/3cky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3cky/subscriptions","organizations_url":"https://api.github.com/users/3cky/orgs","repos_url":"https://api.github.com/users/3cky/repos","events_url":"https://api.github.com/users/3cky/events{/privacy}","received_events_url":"https://api.github.com/users/3cky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3cky/openhab2-addons","description":"Add-ons for openHAB 2.x","fork":true,"url":"https://api.github.com/repos/3cky/openhab2-addons","forks_url":"https://api.github.com/repos/3cky/openhab2-addons/forks","keys_url":"https://api.github.com/repos/3cky/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3cky/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3cky/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/3cky/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/3cky/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/3cky/openhab2-addons/events","assignees_url":"https://api.github.com/repos/3cky/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/3cky/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/3cky/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/3cky/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3cky/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3cky/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/3cky/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3cky/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/3cky/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/3cky/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/3cky/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/3cky/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/3cky/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/3cky/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/3cky/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/3cky/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/3cky/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/3cky/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/3cky/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3cky/openhab2-addons/merges","archive_url":"https://api.github.com/repos/3cky/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3cky/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/3cky/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/3cky/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/3cky/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/3cky/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3cky/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/3cky/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/3cky/openhab2-addons/deployments","created_at":"2017-09-26T20:35:07Z","updated_at":"2017-09-26T20:35:15Z","pushed_at":"2018-06-19T15:01:36Z","git_url":"git://github.com/3cky/openhab2-addons.git","ssh_url":"git@github.com:3cky/openhab2-addons.git","clone_url":"https://github.com/3cky/openhab2-addons.git","svn_url":"https://github.com/3cky/openhab2-addons","homepage":"","size":275950,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openhab:master","ref":"master","sha":"8ee34bf1472d3eb632e7934eaf4b65f0711db90e","user":{"login":"openhab","id":1007353,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDczNTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1007353?v=4","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":19753195,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc1MzE5NQ==","name":"openhab2-addons","full_name":"openhab/openhab2-addons","owner":{"login":"openhab","id":1007353,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDczNTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1007353?v=4","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab2-addons","description":"Add-ons for openHAB 2.x","fork":false,"url":"https://api.github.com/repos/openhab/openhab2-addons","forks_url":"https://api.github.com/repos/openhab/openhab2-addons/forks","keys_url":"https://api.github.com/repos/openhab/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/openhab/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab2-addons/events","assignees_url":"https://api.github.com/repos/openhab/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/openhab/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab2-addons/merges","archive_url":"https://api.github.com/repos/openhab/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/openhab/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab2-addons/deployments","created_at":"2014-05-13T19:41:58Z","updated_at":"2018-06-29T02:40:44Z","pushed_at":"2018-06-29T01:44:40Z","git_url":"git://github.com/openhab/openhab2-addons.git","ssh_url":"git@github.com:openhab/openhab2-addons.git","clone_url":"https://github.com/openhab/openhab2-addons.git","svn_url":"https://github.com/openhab/openhab2-addons","homepage":"","size":276405,"stargazers_count":783,"watchers_count":783,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1475,"mirror_url":null,"archived":false,"open_issues_count":412,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":1475,"open_issues":412,"watchers":783,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/2805"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/2805"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/2805/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/2805/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/f0ba894e486b012ccb5e5a828b8766e00624a0a8"}},"author_association":"NONE"}}
{"actor":{"display_login":"triller-telekom"}}