🍭 Polymer frontend for Home Assistant
zsarnett remove Animation for thermostat and light (#2303)
* Update Animation

* Update light
Latest commit 2ec8b97 Dec 13, 2018
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_data MVP Gulp introduction (#334) Jul 13, 2017
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#… Dec 6, 2017
gallery TS create element functions (#2276) Dec 12, 2018
gulp Gen MDI icons during hassio build Nov 20, 2018
hassio Hass.io: Show ANSI color codes in logs (#2155) Dec 2, 2018
public Cleanup (#1575) Aug 21, 2018
script Add script to show stats (#2195) Dec 6, 2018
src remove Animation for thermostat and light (#2303) Dec 14, 2018
test-mocha Fix setting aspect ratio in percentage (#2289) Dec 13, 2018
test Localize ha-relative-time (#1241) Jun 1, 2018
translations Update translations Dec 11, 2018
.dockerignore More cleanup (#1185) May 17, 2018
.eslintrc-hound.json Prettier 💎 (#1737) Oct 11, 2018
.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 deps (#2156) Nov 30, 2018
polymer.json Update deps (#1678) Sep 19, 2018
setup.py Bumped version to 20181211.0 Dec 11, 2018
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 script to show stats (#2195) Dec 6, 2018
yarn.lock Upgrade deps (#2156) Nov 30, 2018

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.