home-assistant-svelte-prototype Svelte Themes

Home Assistant Svelte Prototype

Prototype UI for Home Assistant using Svelte

Home Assistant prototype in Svelte

This is a prototype UI to try out the new Svelte framework together with Home Assistant websocket client.

  • Connect to the Home Assistant websocket API
  • Shows the current state of Home Assistant groups
  • Re-renders when the server pushes new states
  • Allows to turn switches and lights on/off (state represented as checkboxes)

Polymer on the left, Svelte with Material Design Lite on the right. Both streaming updates:

Home Assistant is an open source home automation framework. Learn more.

Getting started

The Home Assistant websocket API is available in version 0.34 and up. To install and run the demo mode:

pip3 install homeassistant
hass --demo

After that, clone this repository and open index.html.

Top categories

Loading Svelte Themes