🍭 Frontend for Home Assistant
 
 
Go to file
Zack 1778fa6163 Merge branch 'seek-feature' of https://github.com/zsarnett/home-assistant-polymer into zsarnett-seek-feature 2020-02-18 20:25:38 -05:00
.github Update issue and PR templates (#4553) 2020-01-22 09:33:18 -08:00
.vscode Change recommend VSCode TSLint plugin to offical supported one (#2775) 2019-02-16 23:35:10 -08:00
build-scripts Update babel en disable ES5 builds on dev (#4876) 2020-02-14 16:09:21 -08:00
cast Remove balloob from cast page (#4645) 2020-01-29 17:09:56 +01:00
demo Reduce size of floorplan pic Arsaboo (#4886) 2020-02-15 21:40:28 -08:00
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#717) 2017-12-05 22:56:14 -08:00
gallery ♻️ change entity-button to button card (#4581) 2020-02-14 10:56:08 +01:00
hassio Fixes removing audio device (#4763) 2020-02-05 09:21:43 -08:00
public Revert "Add specific maskable icons (#4283)" (#4284) 2019-11-27 20:23:58 +01:00
script Remove uploading translations from Travis (#4374) 2019-12-23 13:39:47 +01:00
src Merge branch 'seek-feature' of https://github.com/zsarnett/home-assistant-polymer into zsarnett-seek-feature 2020-02-18 20:25:38 -05:00
test Remove wct-browser-legacy (#3686) 2019-09-11 12:46:57 -06:00
test-mocha Show seconds in the UI (#4765) 2020-02-06 10:38:38 -08:00
translations [ci skip] Translation update 2020-02-19 00:32:35 +00:00
.dockerignore More cleanup (#1185) 2018-05-17 17:51:07 -04:00
.eslintrc-hound.json Update ESLint 2019-09-08 23:51:30 -07:00
.eslintrc.json Update build scripts 2019-09-08 23:39:37 -07:00
.gitattributes Update git attr 2019-01-23 11:06:24 -08:00
.gitignore Align styling cast buttons (#3579) 2019-09-03 12:56:11 +02:00
.gitmodules Initial getting rid of HA-JS (#180) 2017-01-29 18:34:45 -08:00
.hound.yml Prevent hound from running eslint on html files (#638) 2017-11-17 09:05:13 -08:00
.nvmrc Use Node 12 (#3141) 2019-04-30 12:16:41 -07:00
.travis.yml Remove uploading translations from Travis (#4374) 2019-12-23 13:39:47 +01:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
CODE_OF_CONDUCT.md Add organization docs 2017-01-22 16:21:16 -08:00
Dockerfile fix dockerfile for new setups (#1740) 2018-10-05 21:23:31 +02:00
LICENSE.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
MANIFEST.in Support serving ES6 JS to clients (#596) 2017-11-10 09:05:37 -08:00
README.md Update README.md 2019-11-21 15:05:42 +01:00
azure-pipelines-netlify.yml Add netlify pipeline (#4563) 2020-01-22 14:42:32 -08:00
azure-pipelines-release.yml Update azure-pipelines-release.yml for Azure Pipelines 2019-09-02 14:36:26 +02:00
azure-pipelines-translation.yml Update azure-pipelines-translation.yml for Azure Pipelines 2020-01-08 16:54:09 +01:00
gulpfile.js Gulpify build pipeline (#3145) 2019-05-02 11:35:46 -07:00
package.json Add safe mode support (#4908) 2020-02-18 08:33:25 -08:00
polymer.json Update deps (#1678) 2018-09-19 15:15:16 +02:00
setup.py Bumped version to 20200217.0 2020-02-17 15:58:06 +01:00
tsconfig.json Convert script and automation editor to lit (#4327) 2019-12-09 10:59:52 +01:00
tslint.json Update lint tools (#2576) 2019-01-26 19:34:07 -08:00
wct.conf.json Add an authorize page for authentication (#1147) 2018-05-10 14:25:36 -04:00
webpack.config.js Refactor Webpack build scripts (#4093) 2019-10-21 15:02:54 -07:00
yarn.lock Add safe mode support (#4908) 2020-02-18 08:33:25 -08:00

README.md

Home Assistant Polymer Build Status

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.