{"action":"created","comment":{"url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/comments/77434141","id":77434141,"diff_hunk":"@@ -0,0 +1,198 @@\n+package org.bubblecloud.zigbee.v3.zcl.clusters;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+import java.util.concurrent.Future;\n+import org.bubblecloud.zigbee.v3.CommandResult;\n+import org.bubblecloud.zigbee.v3.ZigBeeApi;\n+import org.bubblecloud.zigbee.v3.ZigBeeDevice;\n+import org.bubblecloud.zigbee.v3.zcl.ZclAttribute;\n+import org.bubblecloud.zigbee.v3.zcl.ZclCluster;\n+import org.bubblecloud.zigbee.v3.zcl.protocol.ZclDataType;\n+\n+/**\n+ * <b>Relative humidity measurement</b> cluster implementation (<i>Cluster ID 0x0405</i>).\n+ * <p>\n+ * The server cluster provides an interface to relative humidity measurement\n+ * functionality, including configuration and provision of notifications of relative\n+ * humidity measurements.\n+ * </p>\n+ * This code is autogenerated. Modifications may be overwritten!\n+ */\n+public class ZclRelativeHumidityMeasurementCluster extends ZclCluster {\n+    // Cluster ID\n+    private static final int CLUSTER_ID = 0x0405;\n+\n+    // Attribute constants\n+    private final int ATTR_MEASUREDVALUE = 0x0000;\n+    private final int ATTR_MINMEASUREDVALUE = 0x0001;","path":"zigbee-common/src/main/java/org/bubblecloud/zigbee/v3/zcl/clusters/ZclRelativeHumidityMeasurementCluster.java","position":28,"original_position":28,"commit_id":"9f195a2bb086ddfb6d7ee7bef6a2b2c5660b76ba","original_commit_id":"9f195a2bb086ddfb6d7ee7bef6a2b2c5660b76ba","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Name 'ATTR_MINMEASUREDVALUE' must match pattern '^[a-z][a-zA-Z0-9]*$'.](https://www.codacy.com/app/tommi-s-e-laukkanen/zigbee4java/file/3732561014/issues/source?bid=3322503&fileBranchId=3653668#l28)","created_at":"2016-09-03T09:14:20Z","updated_at":"2016-09-03T09:14:20Z","html_url":"https://github.com/tlaukkan/zigbee4java/pull/104#discussion_r77434141","pull_request_url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/comments/77434141"},"html":{"href":"https://github.com/tlaukkan/zigbee4java/pull/104#discussion_r77434141"},"pull_request":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104","id":83301189,"html_url":"https://github.com/tlaukkan/zigbee4java/pull/104","diff_url":"https://github.com/tlaukkan/zigbee4java/pull/104.diff","patch_url":"https://github.com/tlaukkan/zigbee4java/pull/104.patch","issue_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/104","number":104,"state":"open","locked":false,"title":"Refactor to add cluster API","user":{"login":"cdjackson","id":1041475,"avatar_url":"https://avatars.githubusercontent.com/u/1041475?v=3","gravatar_id":"","url":"https://api.github.com/users/cdjackson","html_url":"https://github.com/cdjackson","followers_url":"https://api.github.com/users/cdjackson/followers","following_url":"https://api.github.com/users/cdjackson/following{/other_user}","gists_url":"https://api.github.com/users/cdjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/cdjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdjackson/subscriptions","organizations_url":"https://api.github.com/users/cdjackson/orgs","repos_url":"https://api.github.com/users/cdjackson/repos","events_url":"https://api.github.com/users/cdjackson/events{/privacy}","received_events_url":"https://api.github.com/users/cdjackson/received_events","type":"User","site_admin":false},"body":"This replaces #96 - it's the same PR, but I tidied up the commits.\r\n\r\nAs per #96, discussion is in #93\r\n\r\nSigned-off-by: Chris Jackson <chris@cd-jackson.com>","created_at":"2016-08-30T16:11:25Z","updated_at":"2016-09-03T09:14:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d93be1640c9ef2b8940b6c531c20133cd4a262af","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104/commits","review_comments_url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104/comments","review_comment_url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/104/comments","statuses_url":"https://api.github.com/repos/tlaukkan/zigbee4java/statuses/9f195a2bb086ddfb6d7ee7bef6a2b2c5660b76ba","head":{"label":"cdjackson:refactor_cluster_api","ref":"refactor_cluster_api","sha":"9f195a2bb086ddfb6d7ee7bef6a2b2c5660b76ba","user":{"login":"cdjackson","id":1041475,"avatar_url":"https://avatars.githubusercontent.com/u/1041475?v=3","gravatar_id":"","url":"https://api.github.com/users/cdjackson","html_url":"https://github.com/cdjackson","followers_url":"https://api.github.com/users/cdjackson/followers","following_url":"https://api.github.com/users/cdjackson/following{/other_user}","gists_url":"https://api.github.com/users/cdjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/cdjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdjackson/subscriptions","organizations_url":"https://api.github.com/users/cdjackson/orgs","repos_url":"https://api.github.com/users/cdjackson/repos","events_url":"https://api.github.com/users/cdjackson/events{/privacy}","received_events_url":"https://api.github.com/users/cdjackson/received_events","type":"User","site_admin":false},"repo":{"id":66854112,"name":"zigbee4java","full_name":"cdjackson/zigbee4java","owner":{"login":"cdjackson","id":1041475,"avatar_url":"https://avatars.githubusercontent.com/u/1041475?v=3","gravatar_id":"","url":"https://api.github.com/users/cdjackson","html_url":"https://github.com/cdjackson","followers_url":"https://api.github.com/users/cdjackson/followers","following_url":"https://api.github.com/users/cdjackson/following{/other_user}","gists_url":"https://api.github.com/users/cdjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/cdjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdjackson/subscriptions","organizations_url":"https://api.github.com/users/cdjackson/orgs","repos_url":"https://api.github.com/users/cdjackson/repos","events_url":"https://api.github.com/users/cdjackson/events{/privacy}","received_events_url":"https://api.github.com/users/cdjackson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdjackson/zigbee4java","description":"Zigbee API for Java provides simple Java interface to ZigBee network.","fork":true,"url":"https://api.github.com/repos/cdjackson/zigbee4java","forks_url":"https://api.github.com/repos/cdjackson/zigbee4java/forks","keys_url":"https://api.github.com/repos/cdjackson/zigbee4java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdjackson/zigbee4java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdjackson/zigbee4java/teams","hooks_url":"https://api.github.com/repos/cdjackson/zigbee4java/hooks","issue_events_url":"https://api.github.com/repos/cdjackson/zigbee4java/issues/events{/number}","events_url":"https://api.github.com/repos/cdjackson/zigbee4java/events","assignees_url":"https://api.github.com/repos/cdjackson/zigbee4java/assignees{/user}","branches_url":"https://api.github.com/repos/cdjackson/zigbee4java/branches{/branch}","tags_url":"https://api.github.com/repos/cdjackson/zigbee4java/tags","blobs_url":"https://api.github.com/repos/cdjackson/zigbee4java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdjackson/zigbee4java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdjackson/zigbee4java/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdjackson/zigbee4java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdjackson/zigbee4java/statuses/{sha}","languages_url":"https://api.github.com/repos/cdjackson/zigbee4java/languages","stargazers_url":"https://api.github.com/repos/cdjackson/zigbee4java/stargazers","contributors_url":"https://api.github.com/repos/cdjackson/zigbee4java/contributors","subscribers_url":"https://api.github.com/repos/cdjackson/zigbee4java/subscribers","subscription_url":"https://api.github.com/repos/cdjackson/zigbee4java/subscription","commits_url":"https://api.github.com/repos/cdjackson/zigbee4java/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdjackson/zigbee4java/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdjackson/zigbee4java/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdjackson/zigbee4java/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdjackson/zigbee4java/contents/{+path}","compare_url":"https://api.github.com/repos/cdjackson/zigbee4java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdjackson/zigbee4java/merges","archive_url":"https://api.github.com/repos/cdjackson/zigbee4java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdjackson/zigbee4java/downloads","issues_url":"https://api.github.com/repos/cdjackson/zigbee4java/issues{/number}","pulls_url":"https://api.github.com/repos/cdjackson/zigbee4java/pulls{/number}","milestones_url":"https://api.github.com/repos/cdjackson/zigbee4java/milestones{/number}","notifications_url":"https://api.github.com/repos/cdjackson/zigbee4java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdjackson/zigbee4java/labels{/name}","releases_url":"https://api.github.com/repos/cdjackson/zigbee4java/releases{/id}","deployments_url":"https://api.github.com/repos/cdjackson/zigbee4java/deployments","created_at":"2016-08-29T15:05:29Z","updated_at":"2016-08-29T15:05:35Z","pushed_at":"2016-09-03T09:10:43Z","git_url":"git://github.com/cdjackson/zigbee4java.git","ssh_url":"git@github.com:cdjackson/zigbee4java.git","clone_url":"https://github.com/cdjackson/zigbee4java.git","svn_url":"https://github.com/cdjackson/zigbee4java","homepage":"","size":2897,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"tlaukkan:master","ref":"master","sha":"11165c0d346640227ccacab7ed5f2c2636e674ef","user":{"login":"tlaukkan","id":232774,"avatar_url":"https://avatars.githubusercontent.com/u/232774?v=3","gravatar_id":"","url":"https://api.github.com/users/tlaukkan","html_url":"https://github.com/tlaukkan","followers_url":"https://api.github.com/users/tlaukkan/followers","following_url":"https://api.github.com/users/tlaukkan/following{/other_user}","gists_url":"https://api.github.com/users/tlaukkan/gists{/gist_id}","starred_url":"https://api.github.com/users/tlaukkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlaukkan/subscriptions","organizations_url":"https://api.github.com/users/tlaukkan/orgs","repos_url":"https://api.github.com/users/tlaukkan/repos","events_url":"https://api.github.com/users/tlaukkan/events{/privacy}","received_events_url":"https://api.github.com/users/tlaukkan/received_events","type":"User","site_admin":false},"repo":{"id":15199543,"name":"zigbee4java","full_name":"tlaukkan/zigbee4java","owner":{"login":"tlaukkan","id":232774,"avatar_url":"https://avatars.githubusercontent.com/u/232774?v=3","gravatar_id":"","url":"https://api.github.com/users/tlaukkan","html_url":"https://github.com/tlaukkan","followers_url":"https://api.github.com/users/tlaukkan/followers","following_url":"https://api.github.com/users/tlaukkan/following{/other_user}","gists_url":"https://api.github.com/users/tlaukkan/gists{/gist_id}","starred_url":"https://api.github.com/users/tlaukkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlaukkan/subscriptions","organizations_url":"https://api.github.com/users/tlaukkan/orgs","repos_url":"https://api.github.com/users/tlaukkan/repos","events_url":"https://api.github.com/users/tlaukkan/events{/privacy}","received_events_url":"https://api.github.com/users/tlaukkan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tlaukkan/zigbee4java","description":"Zigbee API for Java provides simple Java interface to ZigBee network.","fork":false,"url":"https://api.github.com/repos/tlaukkan/zigbee4java","forks_url":"https://api.github.com/repos/tlaukkan/zigbee4java/forks","keys_url":"https://api.github.com/repos/tlaukkan/zigbee4java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tlaukkan/zigbee4java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tlaukkan/zigbee4java/teams","hooks_url":"https://api.github.com/repos/tlaukkan/zigbee4java/hooks","issue_events_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/events{/number}","events_url":"https://api.github.com/repos/tlaukkan/zigbee4java/events","assignees_url":"https://api.github.com/repos/tlaukkan/zigbee4java/assignees{/user}","branches_url":"https://api.github.com/repos/tlaukkan/zigbee4java/branches{/branch}","tags_url":"https://api.github.com/repos/tlaukkan/zigbee4java/tags","blobs_url":"https://api.github.com/repos/tlaukkan/zigbee4java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tlaukkan/zigbee4java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tlaukkan/zigbee4java/git/refs{/sha}","trees_url":"https://api.github.com/repos/tlaukkan/zigbee4java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tlaukkan/zigbee4java/statuses/{sha}","languages_url":"https://api.github.com/repos/tlaukkan/zigbee4java/languages","stargazers_url":"https://api.github.com/repos/tlaukkan/zigbee4java/stargazers","contributors_url":"https://api.github.com/repos/tlaukkan/zigbee4java/contributors","subscribers_url":"https://api.github.com/repos/tlaukkan/zigbee4java/subscribers","subscription_url":"https://api.github.com/repos/tlaukkan/zigbee4java/subscription","commits_url":"https://api.github.com/repos/tlaukkan/zigbee4java/commits{/sha}","git_commits_url":"https://api.github.com/repos/tlaukkan/zigbee4java/git/commits{/sha}","comments_url":"https://api.github.com/repos/tlaukkan/zigbee4java/comments{/number}","issue_comment_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/comments{/number}","contents_url":"https://api.github.com/repos/tlaukkan/zigbee4java/contents/{+path}","compare_url":"https://api.github.com/repos/tlaukkan/zigbee4java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tlaukkan/zigbee4java/merges","archive_url":"https://api.github.com/repos/tlaukkan/zigbee4java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tlaukkan/zigbee4java/downloads","issues_url":"https://api.github.com/repos/tlaukkan/zigbee4java/issues{/number}","pulls_url":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls{/number}","milestones_url":"https://api.github.com/repos/tlaukkan/zigbee4java/milestones{/number}","notifications_url":"https://api.github.com/repos/tlaukkan/zigbee4java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tlaukkan/zigbee4java/labels{/name}","releases_url":"https://api.github.com/repos/tlaukkan/zigbee4java/releases{/id}","deployments_url":"https://api.github.com/repos/tlaukkan/zigbee4java/deployments","created_at":"2013-12-15T07:20:58Z","updated_at":"2016-09-03T00:56:45Z","pushed_at":"2016-09-03T09:10:45Z","git_url":"git://github.com/tlaukkan/zigbee4java.git","ssh_url":"git@github.com:tlaukkan/zigbee4java.git","clone_url":"https://github.com/tlaukkan/zigbee4java.git","svn_url":"https://github.com/tlaukkan/zigbee4java","homepage":"","size":6334,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":15,"forks":34,"open_issues":15,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104"},"html":{"href":"https://github.com/tlaukkan/zigbee4java/pull/104"},"issue":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/104"},"comments":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/tlaukkan/zigbee4java/statuses/9f195a2bb086ddfb6d7ee7bef6a2b2c5660b76ba"}}}}
{"actor":{"display_login":"codacy-bot"}}