Skip to content
🍭 Frontend for Home Assistant
TypeScript JavaScript Other
Branch: dev
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Remove states-ui and allow setting (local) default lovelace panel (#5043 Mar 3, 2020
.vscode Change recommend VSCode TSLint plugin to offical supported one (#2775) Feb 17, 2019
build-scripts Fix translations in production builds (#5192) Mar 13, 2020
cast Cast fix for urlPath === "lovelace" (#5242) Mar 18, 2020
demo [ImgBot] Optimize images (#5378) Mar 31, 2020
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#… Dec 6, 2017
gallery [ImgBot] Optimize images (#5378) Mar 31, 2020
hassio Fix hass.io panel for older version (#5365) Mar 30, 2020
public Weather Entity Row: Row Addition (#4959) Mar 31, 2020
script Remove uploading translations from Travis (#4374) Dec 23, 2019
src Add feature map history (#5331) Mar 31, 2020
test-mocha Show seconds in the UI (#4765) Feb 6, 2020
test Remove wct-browser-legacy (#3686) Sep 11, 2019
translations [ci skip] Translation update Apr 1, 2020
.dockerignore More cleanup (#1185) May 17, 2018
.eslintrc-hound.json Update ESLint Sep 9, 2019
.eslintrc.json Update build scripts Sep 9, 2019
.gitattributes Add image to demo media player (#5086) Mar 6, 2020
.gitignore Add feature map history (#5331) Mar 31, 2020
.gitmodules Initial getting rid of HA-JS (#180) Jan 30, 2017
.hound.yml Prevent hound from running eslint on html files (#638) Nov 17, 2017
.nvmrc Use Node 12 (#3141) Apr 30, 2019
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license Jan 28, 2017
CODE_OF_CONDUCT.md Add organization docs Jan 23, 2017
Dockerfile fix dockerfile for new setups (#1740) Oct 5, 2018
LICENSE.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license Jan 28, 2017
MANIFEST.in Support serving ES6 JS to clients (#596) Nov 10, 2017
README.md New Media Player - Cloned from Android Spotify Notification (#5044) Mar 6, 2020
azure-pipelines-netlify.yml Add netlify pipeline (#4563) Jan 22, 2020
azure-pipelines-release.yml [skip ci] Simplify release pipeline Mar 30, 2020
azure-pipelines-translation.yml Update azure-pipelines-translation.yml for Azure Pipelines Mar 6, 2020
gulpfile.js Gulpify build pipeline (#3145) May 2, 2019
package.json Bump home-assistant-js-websocket (#5127) Mar 11, 2020
polymer.json Remove states-ui and allow setting (local) default lovelace panel (#5043 Mar 3, 2020
setup.py Bumped version to 20200330.0 Mar 30, 2020
tsconfig.json Convert script and automation editor to lit (#4327) Dec 9, 2019
tslint.json Update lint tools (#2576) Jan 27, 2019
wct.conf.json Add an authorize page for authentication (#1147) May 10, 2018
webpack.config.js Fix translations in production builds (#5192) Mar 13, 2020
yarn.lock Bump home-assistant-js-websocket (#5127) Mar 11, 2020

README.md

Home Assistant Frontend

This is the repository for the official Home Assistant frontend.

Screenshot of the frontend

Development

  • Initial setup: script/setup
  • Development: Instructions
  • Production build: script/build_frontend
  • Gallery: cd gallery && script/develop_gallery
  • Hass.io: Instructions

Frontend development

Classic environment

A complete guide can be found at the following link. It describes a short guide for the build of project.

Docker environment

It is possible to compile the project and/or run commands in the development environment having only the Docker pre-installed in the system. On the root of project you can do:

  • sh ./script/docker_run.sh build Build all the project with one command
  • sh ./script/docker_run.sh bash Open an interactive shell (the same environment generated by the classic environment) where you can run commands. This bash work on your project directory and any change on your file is automatically present within your build bash.

Note: if you have installed npm in addition to the docker, you can use the commands npm run docker_build and npm run bash to get a full build or bash as explained above

License

Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.

We use BrowserStack to test Home Assistant on a large variation of devices.

You can’t perform that action at this time.