{"action":"created","issue":{"url":"https://api.github.com/repos/Kane610/deconz/issues/13","repository_url":"https://api.github.com/repos/Kane610/deconz","labels_url":"https://api.github.com/repos/Kane610/deconz/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Kane610/deconz/issues/13/comments","events_url":"https://api.github.com/repos/Kane610/deconz/issues/13/events","html_url":"https://github.com/Kane610/deconz/issues/13","id":331727572,"node_id":"MDU6SXNzdWUzMzE3Mjc1NzI=","number":13,"title":"Feature Request/Enhancement: Expose \"On/Off plug-in unit\" as switches instead of lights","user":{"login":"timbru31","id":838003,"node_id":"MDQ6VXNlcjgzODAwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/838003?v=4","gravatar_id":"","url":"https://api.github.com/users/timbru31","html_url":"https://github.com/timbru31","followers_url":"https://api.github.com/users/timbru31/followers","following_url":"https://api.github.com/users/timbru31/following{/other_user}","gists_url":"https://api.github.com/users/timbru31/gists{/gist_id}","starred_url":"https://api.github.com/users/timbru31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbru31/subscriptions","organizations_url":"https://api.github.com/users/timbru31/orgs","repos_url":"https://api.github.com/users/timbru31/repos","events_url":"https://api.github.com/users/timbru31/events{/privacy}","received_events_url":"https://api.github.com/users/timbru31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-12T19:46:26Z","updated_at":"2018-07-29T17:08:09Z","closed_at":null,"author_association":"NONE","body":"Sadly deconz exposes my Osram Smart+ Plugs (https://www.osram-lamps.com/ecatalog/smart-home/smart-home-components/smart-plug/index.jsp) as lights, but they have the type `On/Off plug-in unit`. It would be awesome if this project would expose these entites as switches instead of lights.\r\nExample from deconz API:\r\n```json\r\n    \"23\": {\r\n        \"etag\": \"318bed1a0d0894ffc04b63a264f1d79d\",\r\n        \"hascolor\": false,\r\n        \"manufacturername\": \"OSRAM\",\r\n        \"modelid\": \"Plug 01\",\r\n        \"name\": \"Power Plug 1\",\r\n        \"state\": {\r\n            \"alert\": \"none\",\r\n            \"on\": false,\r\n            \"reachable\": true\r\n        },\r\n        \"swversion\": \"V1.04.12\",\r\n        \"type\": \"On/Off plug-in unit\",\r\n        \"uniqueid\": \"80:18:76:00:00:0d:36:ac-03\"\r\n    },\r\n```\r\n\r\nLet me know if I can help you with that.\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/Kane610/deconz/issues/comments/408691449","html_url":"https://github.com/Kane610/deconz/issues/13#issuecomment-408691449","issue_url":"https://api.github.com/repos/Kane610/deconz/issues/13","id":408691449,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY5MTQ0OQ==","user":{"login":"Kane610","id":24575746,"node_id":"MDQ6VXNlcjI0NTc1NzQ2","avatar_url":"https://avatars0.githubusercontent.com/u/24575746?v=4","gravatar_id":"","url":"https://api.github.com/users/Kane610","html_url":"https://github.com/Kane610","followers_url":"https://api.github.com/users/Kane610/followers","following_url":"https://api.github.com/users/Kane610/following{/other_user}","gists_url":"https://api.github.com/users/Kane610/gists{/gist_id}","starred_url":"https://api.github.com/users/Kane610/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kane610/subscriptions","organizations_url":"https://api.github.com/users/Kane610/orgs","repos_url":"https://api.github.com/users/Kane610/repos","events_url":"https://api.github.com/users/Kane610/events{/privacy}","received_events_url":"https://api.github.com/users/Kane610/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T17:08:09Z","updated_at":"2018-07-29T17:08:09Z","author_association":"OWNER","body":"I've been thinking about this a bit more and the best way for this is just to have a list of types that will be created as switches instead of lights in hass. So Im not changing anything in pydeconz. Gonna get this done within a few weeks"}}
{"actor":{"display_login":"Kane610"}}