{"action":"closed","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/1616","repository_url":"https://api.github.com/repos/balloob/home-assistant","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/1616/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1616/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/1616/events","html_url":"https://github.com/balloob/home-assistant/issues/1616","id":143687485,"number":1616,"title":"Add sensor_class for connectivity to binarysensor","user":{"login":"molobrakos","id":8228319,"avatar_url":"https://avatars.githubusercontent.com/u/8228319?v=3","gravatar_id":"","url":"https://api.github.com/users/molobrakos","html_url":"https://github.com/molobrakos","followers_url":"https://api.github.com/users/molobrakos/followers","following_url":"https://api.github.com/users/molobrakos/following{/other_user}","gists_url":"https://api.github.com/users/molobrakos/gists{/gist_id}","starred_url":"https://api.github.com/users/molobrakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molobrakos/subscriptions","organizations_url":"https://api.github.com/users/molobrakos/orgs","repos_url":"https://api.github.com/users/molobrakos/repos","events_url":"https://api.github.com/users/molobrakos/events{/privacy}","received_events_url":"https://api.github.com/users/molobrakos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balloob/home-assistant/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/balloob/home-assistant/labels/frontend","name":"frontend","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-26T10:42:49Z","updated_at":"2016-03-27T15:29:21Z","closed_at":"2016-03-27T15:29:21Z","body":"With state = on meaning connection present (for example successful ping), and state = off meaning connectivity failure (e.g. unsuccessful ping).\r\n\r\nin state-icon.js the following icons could be used\r\nmdi:server-network\r\nmdi:server-network-off\r\n\r\nalternatively\r\n\r\nmdi:lan-connect\r\nmdi:lan-disconnect\r\n\r\nmaybe there are other suggestions?"}}