I’ve made a small Angular project that shows how to connect to Home Assistants API via Websockets and fetch data. Enjoy!