🍭 Polymer frontend for Home Assistant
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add release drafter Jul 10, 2018
.vscode add vscode extension recommondations (#1978) Nov 3, 2018
config 👋 decorators (#1790) Oct 17, 2018
demo Add demo (#2502) Jan 19, 2019
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#… Dec 6, 2017
gallery Add demo (#2502) Jan 19, 2019
gulp Add demo (#2502) Jan 19, 2019
hassio Hass.io: Show ANSI color codes in logs (#2155) Dec 2, 2018
public 🎨 Optmizes image assets (#2499) Jan 17, 2019
script Fix version bump Jan 9, 2019
src Add demo (#2502) Jan 19, 2019
test-mocha Fix incorrect state display being cached (#2356) Dec 19, 2018
test Localize ha-relative-time (#1241) Jun 1, 2018
translations Update translations Jan 17, 2019
.dockerignore More cleanup (#1185) May 17, 2018
.eslintrc-hound.json Add demo (#2502) Jan 19, 2019
.eslintrc.json Update deps (#1678) Sep 19, 2018
.gitattributes Force correct line endings Nov 2, 2018
.gitignore add vscode extension recommondations (#1978) Nov 3, 2018
.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 Update Node version to latest LTS (#1080) Apr 12, 2018
.travis.yml Build hassio panel (#1184) May 17, 2018
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 Review Docker management (#1113) Sep 10, 2018
gulpfile.js Migrate to Polymer 2 (#370) Aug 4, 2017
package.json Upgrade Lit Element to RC3 (#2504) Jan 19, 2019
polymer.json Update deps (#1678) Sep 19, 2018
setup.py Bumped version to 20190116.0 Jan 17, 2019
tsconfig.json Addition to Edit Love Lace Cards (#1885) Oct 30, 2018
tslint.json Enforce prettier for TypeScript (#1860) Oct 26, 2018
wct.conf.json Add an authorize page for authentication (#1147) May 10, 2018
webpack.config.js Add demo (#2502) Jan 19, 2019
yarn.lock Upgrade Lit Element to RC3 (#2504) Jan 19, 2019

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.