{"action":"opened","issue":{"url":"https://api.github.com/repos/cgarwood/hacontrolpoint/issues/2","repository_url":"https://api.github.com/repos/cgarwood/hacontrolpoint","labels_url":"https://api.github.com/repos/cgarwood/hacontrolpoint/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/cgarwood/hacontrolpoint/issues/2/comments","events_url":"https://api.github.com/repos/cgarwood/hacontrolpoint/issues/2/events","html_url":"https://github.com/cgarwood/hacontrolpoint/issues/2","id":186957431,"number":2,"title":"Create Javascript HomeAssistant API","user":{"login":"cgarwood","id":7545841,"avatar_url":"https://avatars.githubusercontent.com/u/7545841?v=3","gravatar_id":"","url":"https://api.github.com/users/cgarwood","html_url":"https://github.com/cgarwood","followers_url":"https://api.github.com/users/cgarwood/followers","following_url":"https://api.github.com/users/cgarwood/following{/other_user}","gists_url":"https://api.github.com/users/cgarwood/gists{/gist_id}","starred_url":"https://api.github.com/users/cgarwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgarwood/subscriptions","organizations_url":"https://api.github.com/users/cgarwood/orgs","repos_url":"https://api.github.com/users/cgarwood/repos","events_url":"https://api.github.com/users/cgarwood/events{/privacy}","received_events_url":"https://api.github.com/users/cgarwood/received_events","type":"User","site_admin":false},"labels":[{"id":472510358,"url":"https://api.github.com/repos/cgarwood/hacontrolpoint/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":472510359,"url":"https://api.github.com/repos/cgarwood/hacontrolpoint/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-03T00:47:47Z","updated_at":"2016-11-03T00:47:47Z","closed_at":null,"body":"The basics are in haproxy.php and js/my-app.js but it's mostly hard-coded to my specific installation.\r\n\r\nNeed a javascript API that will populate javascript objects with the entities and states pulled from HASS. Would be nice to tie it to HTML elements via a data-entity attribute, and have it automatically update those HTML elements when it refreshes its data from HASS."}}
{"actor":{"display_login":"cgarwood"}}