{"action":"closed","issue":{"url":"https://api.github.com/repos/tommasomarchionni/homebridge-openHAB/issues/8","labels_url":"https://api.github.com/repos/tommasomarchionni/homebridge-openHAB/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/tommasomarchionni/homebridge-openHAB/issues/8/comments","events_url":"https://api.github.com/repos/tommasomarchionni/homebridge-openHAB/issues/8/events","html_url":"https://github.com/tommasomarchionni/homebridge-openHAB/issues/8","id":124115240,"number":8,"title":"Can't recognize items ","user":{"login":"redhell","id":391080,"avatar_url":"https://avatars.githubusercontent.com/u/391080?v=3","gravatar_id":"","url":"https://api.github.com/users/redhell","html_url":"https://github.com/redhell","followers_url":"https://api.github.com/users/redhell/followers","following_url":"https://api.github.com/users/redhell/following{/other_user}","gists_url":"https://api.github.com/users/redhell/gists{/gist_id}","starred_url":"https://api.github.com/users/redhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhell/subscriptions","organizations_url":"https://api.github.com/users/redhell/orgs","repos_url":"https://api.github.com/users/redhell/repos","events_url":"https://api.github.com/users/redhell/events{/privacy}","received_events_url":"https://api.github.com/users/redhell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-28T19:53:01Z","updated_at":"2016-01-05T20:37:46Z","closed_at":"2016-01-05T20:37:46Z","body":"Hi,\r\n\r\nfirst of all thanks for this plugin!\r\n\r\nThe plugin can't recognize items when there is only one element in a frame.\r\nExample:\r\n {\r\n\t\t\t\"widgetId\": \"rwe_0\",\r\n\t\t\t\"type\": \"Frame\",\r\n\t\t\t\"label\": \"Eingang\",\r\n\t\t\t\"icon\": \"frontdoor\",\r\n\t\t\t\"widget\": {\r\n\t\t\t\t\"widgetId\": \"rwe_0_0\",\r\n\t\t\t\t\"type\": \"Text\",\r\n\t\t\t\t\"label\": \"Eingang [zu]\",\r\n\t\t\t\t\"icon\": \"frontdoor-closed\",\r\n\t\t\t\t\"item\": {\r\n\t\t\t\t\t\"type\": \"ContactItem\",\r\n\t\t\t\t\t\"name\": \"rweContact8d7f9f\",\r\n\t\t\t\t\t\"state\": \"CLOSED\",\r\n\t\t\t\t\t\"link\": \"http://192.168.2.118:8080/rest/items/rweContact8d7f9f\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\nbut when i add an text element the sensor will be found\r\n\r\n{\r\n\t\t\"id\": \"rwe\",\r\n\t\t\"title\": \"Zuhause\",\r\n\t\t\"link\": \"http://192.168.2.118:8080/rest/sitemaps/rwe/rwe\",\r\n\t\t\"leaf\": \"false\",\r\n\t\t\"widget\": [{\r\n\t\t\t\"widgetId\": \"rwe_0\",\r\n\t\t\t\"type\": \"Frame\",\r\n\t\t\t\"label\": \"Eingang\",\r\n\t\t\t\"icon\": \"frontdoor\",\r\n\t\t\t\"widget\": [{\r\n\t\t\t\t\"widgetId\": \"rwe_0_0\",\r\n\t\t\t\t\"type\": \"Text\",\r\n\t\t\t\t\"label\": \"Eingang [zu]\",\r\n\t\t\t\t\"icon\": \"frontdoor-closed\",\r\n\t\t\t\t\"item\": {\r\n\t\t\t\t\t\"type\": \"ContactItem\",\r\n\t\t\t\t\t\"name\": \"rweContact8d7f9f\",\r\n\t\t\t\t\t\"state\": \"CLOSED\",\r\n\t\t\t\t\t\"link\": \"http://192.168.2.118:8080/rest/items/rweContact8d7f9f\"\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\t\"widgetId\": \"rwe_0_0_1\",\r\n\t\t\t\t\"type\": \"Text\",\r\n\t\t\t\t\"label\": \"Test\",\r\n\t\t\t\t\"icon\": \"info\"\r\n\t\t\t}]\r\n\t\t},"}}