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

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.