{"action":"created","issue":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/670","repository_url":"https://api.github.com/repos/domoticz/domoticz","labels_url":"https://api.github.com/repos/domoticz/domoticz/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/domoticz/domoticz/issues/670/comments","events_url":"https://api.github.com/repos/domoticz/domoticz/issues/670/events","html_url":"https://github.com/domoticz/domoticz/issues/670","id":156295813,"number":670,"title":"Switch selector do (not?) working","user":{"login":"endro","id":6293998,"avatar_url":"https://avatars.githubusercontent.com/u/6293998?v=3","gravatar_id":"","url":"https://api.github.com/users/endro","html_url":"https://github.com/endro","followers_url":"https://api.github.com/users/endro/followers","following_url":"https://api.github.com/users/endro/following{/other_user}","gists_url":"https://api.github.com/users/endro/gists{/gist_id}","starred_url":"https://api.github.com/users/endro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endro/subscriptions","organizations_url":"https://api.github.com/users/endro/orgs","repos_url":"https://api.github.com/users/endro/repos","events_url":"https://api.github.com/users/endro/events{/privacy}","received_events_url":"https://api.github.com/users/endro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-23T14:35:43Z","updated_at":"2016-06-01T13:23:28Z","closed_at":"2016-06-01T13:23:28Z","body":"I created switch selector on Dummy hardware but can't configure (and error in console).\r\n\r\n![ss1](https://cloud.githubusercontent.com/assets/6293998/15474082/69ca43cc-2103-11e6-9aa4-1580a884cbfd.png)\r\n\r\nBut working after modify this line:\r\n```\r\nLightsController.js:1469\r\n$.bIsSelectorSwitch = (switchtype === 18); //devsubtype === \"Selector Switch\");\r\n// ^^ switch selector devsubtype was \"Switch\"\r\n```\r\n\r\n![ss2](https://cloud.githubusercontent.com/assets/6293998/15474167/e65fd9d8-2103-11e6-9700-99c03b61d657.png)\r\n\r\nThis it a bug or am I doing something wrong?"},"comment":{"url":"https://api.github.com/repos/domoticz/domoticz/issues/comments/222990538","html_url":"https://github.com/domoticz/domoticz/issues/670#issuecomment-222990538","issue_url":"https://api.github.com/repos/domoticz/domoticz/issues/670","id":222990538,"user":{"login":"gizmocuz","id":2265299,"avatar_url":"https://avatars.githubusercontent.com/u/2265299?v=3","gravatar_id":"","url":"https://api.github.com/users/gizmocuz","html_url":"https://github.com/gizmocuz","followers_url":"https://api.github.com/users/gizmocuz/followers","following_url":"https://api.github.com/users/gizmocuz/following{/other_user}","gists_url":"https://api.github.com/users/gizmocuz/gists{/gist_id}","starred_url":"https://api.github.com/users/gizmocuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gizmocuz/subscriptions","organizations_url":"https://api.github.com/users/gizmocuz/orgs","repos_url":"https://api.github.com/users/gizmocuz/repos","events_url":"https://api.github.com/users/gizmocuz/events{/privacy}","received_events_url":"https://api.github.com/users/gizmocuz/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T13:23:28Z","updated_at":"2016-06-01T13:23:28Z","body":"You should select selector switch as type when creating the virtual sensor "}}
{"actor":{"display_login":"gizmocuz"}}