Skip to content
🍭 Polymer frontend for Home Assistant
TypeScript JavaScript CSS Shell HTML Python
Branch: dev
Clone or download
bramkragten and balloob Fix background on panel (#3713)
* Fix background on panel

* Make themes work on panel

* fix for tabs-hidden

* and still not gone...
Latest commit bf34364 Sep 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md (#2892) Mar 7, 2019
.vscode Change recommend VSCode TSLint plugin to offical supported one (#2775) Feb 17, 2019
build-scripts Filter html from translations (#3665) Sep 10, 2019
cast Upgrade HAWS to 4.4.0 (#3682) Sep 11, 2019
demo Fix Cast demo (#3460) Aug 6, 2019
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#… Dec 6, 2017
gallery Update build scripts Sep 9, 2019
hassio Update ESLint Sep 9, 2019
mdc-data-table Add ha-data-table (#3647) Sep 11, 2019
public Gulpify build pipeline (#3145) May 2, 2019
script Filter html from translations (#3665) Sep 10, 2019
src Fix background on panel (#3713) Sep 16, 2019
test-mocha Use Node 12 (#3141) Apr 30, 2019
test Remove wct-browser-legacy (#3686) Sep 11, 2019
translations Update translations (#3687) Sep 11, 2019
.dockerignore More cleanup (#1185) May 17, 2018
.eslintrc-hound.json Update ESLint Sep 9, 2019
.eslintrc.json Update build scripts Sep 9, 2019
.gitattributes Update git attr Jan 23, 2019
.gitignore Align styling cast buttons (#3579) Sep 3, 2019
.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
.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
azure-pipelines-release.yml Update azure-pipelines-release.yml for Azure Pipelines Sep 2, 2019
gulpfile.js Gulpify build pipeline (#3145) May 2, 2019
package.json Add ha-data-table (#3647) Sep 11, 2019
polymer.json Update deps (#1678) Sep 19, 2018
setup.py Bumped version to 20190911.1 Sep 11, 2019
tsconfig.json Drop Babel Sep 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 Migrate demo to gulp (#3152) May 3, 2019
yarn.lock Add ha-data-table (#3647) Sep 11, 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.

You can’t perform that action at this time.