* Convert system * Convert dashboard * Remove logging statement * Convert addon view (base) and log * Convert addon-view info * Remove unintended file in commit * Convert ansi-to-html * Fix log update reloading * Convert addon-view config * Convert addon-view network * Add inn missing haStyle * Convert addon-view audio * convert dialog-hassio-markdown * Convert dialog-hassio-snapshot * Convert entrypoint * Convert hassio-style * Lint hassio-addon-audio * Lint hassio-addon-audio * Lint hassio-addon-config * Remove file that should not have been comitted * Linting of the rest * Cleanup * Cleanup config * Required changes after rebase * Change property/method clasification * use ? for _inputDevices and _outputDevices * Use undefined instead of null for addon property * Use ? for addons property * Async addon audio * Corrects typo in Error * Wrap async calls in try/catch * Remove npm task * Fix async constant/functions * Reintroduce noDevice * We don't use the data of the POST no need to store and pass it * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * Update hassio/src/addon-view/hassio-addon-config.ts Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * Update hassio/src/addon-view/hassio-addon-audio.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-audio.ts Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * Apply review comments * Simplify selected item change * Change back to attr * Apply lessons learned to addon-config * Send event on config change * Extract error msg * Apply lessons learned to addon-info * Apply lessons learned to addon-logs * Fix shorthand linting issue * Prefix private with _ * reset error * Apply lessons learned to addon-network * Revert package.json change * Apply lessons learned to addon-view * Fixes Unnecessary 'await' issue * rename content -> addoninfo * Update hassio/src/addon-view/hassio-addon-config.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-config.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-config.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-network.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-logs.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Fix syntax issues * Fix error handling issues * Use forEach and not map * Use private for _error * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Update hassio/src/addon-view/hassio-addon-info.ts Co-Authored-By: Bram Kragten <mail@bramkragten.nl> * Use classMap * remove unneded limitations * it can be null * Update hassio/src/system/hassio-supervisor-log.ts Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * split hassio.ts * Update datahandling * Return result * Use map instead of forEach * Unnecessary 'await'. * Move setSupervisorOption to data/hassio/supervisor * Unnecessary 'await' * Move fetchSupervisorLogs to data/hassio/supervisor * Move fetchHassioHardwareInfo to data/hassio/hardware * change error property Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Home Assistant Polymer 
This is the repository for the official Home Assistant 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 buildBuild all the project with one commandsh ./script/docker_run.sh bashOpen 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.
Description
Languages
TypeScript
93.4%
JavaScript
6.5%
Shell
0.1%
