{"action":"opened","issue":{"url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/851","repository_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin","labels_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/851/labels{/name}","comments_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/851/comments","events_url":"https://api.github.com/repos/dresden-elektronik/deconz-rest-plugin/issues/851/events","html_url":"https://github.com/dresden-elektronik/deconz-rest-plugin/issues/851","id":369346161,"node_id":"MDU6SXNzdWUzNjkzNDYxNjE=","number":851,"title":"Inconsistent naming for xiaomi switches on REST API (lumi.sensor_switch)","user":{"login":"cnrd","id":5996053,"node_id":"MDQ6VXNlcjU5OTYwNTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5996053?v=4","gravatar_id":"","url":"https://api.github.com/users/cnrd","html_url":"https://github.com/cnrd","followers_url":"https://api.github.com/users/cnrd/followers","following_url":"https://api.github.com/users/cnrd/following{/other_user}","gists_url":"https://api.github.com/users/cnrd/gists{/gist_id}","starred_url":"https://api.github.com/users/cnrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnrd/subscriptions","organizations_url":"https://api.github.com/users/cnrd/orgs","repos_url":"https://api.github.com/users/cnrd/repos","events_url":"https://api.github.com/users/cnrd/events{/privacy}","received_events_url":"https://api.github.com/users/cnrd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T23:39:47Z","updated_at":"2018-10-11T23:39:47Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nFirst of all, I'm sorry if this should be posted to pydeconz, but I'm pretty sure they forward whatever they receive from the API.\r\n\r\nI have setup 5 Xiaomi single button switches (the old round ones) and there seems to be some inconsistency with the naming.\r\n\r\n2 of them shows up as:\r\n* lumi.sensor_switch_7\r\n* lumi.sensor_switch_8\r\n\r\nWhile the other 3 shows up as:\r\n* Switch 9\r\n* Switch 10\r\n* Switch 11\r\n\r\nThe naming in the deCONZ UI is:\r\n* Switch 7\r\n* Switch 8\r\n* Switch 9\r\n* Switch 10\r\n* Switch 11\r\n\r\nAnd I have yet to find a way to rename them in deCONZ as they don't show up in webUI or Phoscon, and renaming them in the deCONZ UI seem to do nothing."}}
{"actor":{"display_login":"cnrd"}}