* Fix type issues * Extract backup-upload * Add onboarding upload section * Extract and use ha-backup-details * Implement backup details and restore * remove unused hassio onboarding calls * Require hass in dialog-hassio-backup * Add restore view * Add formatDateTime without locale and config * Add restore status * Fix prettier * Fix styles of backup details * Remove unused localize * Fix onboarding restore translations * Hide data-picker on core only instance * Split uploadBackup into 2 separate funcs * Add formatDateTimeWithBrowserDefaults * Fix selected data for core only * Show error reasons on status page * Use new backup info agents * Add mem function for formatDateTimeWithBrowserDefaults * Fix overflow on mobile * Handle errors when in hassio mode * Fix cancel restore texts * Fix hassio localize type issue * Remove unused onboarding localize in hassio backup restore * improve format_date_time * Fix tests * Fix and simplify backup upload issues * Use foreach instead of reduce * Fix attributes, unused styles and properties * Simplify supervisor warning * Fix language type issues * Fix ha-backup-data-picker * Improve backup-details-restore * Fix onboarding-restore issues * Improve loadBackupInfo * Revert uploadBackup changes * Improve cancel restore * Use destructive * Update src/panels/config/backup/dialogs/dialog-upload-backup.ts Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Show backup type not at onboarding * Only show backup type in correct translationPanel * Fix quotes --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl> |
||
---|---|---|
.devcontainer | ||
.github | ||
.husky | ||
.vscode | ||
.yarn | ||
build-scripts | ||
cast | ||
demo | ||
docs | ||
gallery | ||
hassio | ||
landing-page | ||
public | ||
script | ||
src | ||
test | ||
.browserslistrc | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.nvmrc | ||
.prettierignore | ||
.yarnrc.yml | ||
CLA.md | ||
CODE_OF_CONDUCT.md | ||
LICENSE.md | ||
MANIFEST.in | ||
README.md | ||
eslint.config.mjs | ||
gulpfile.js | ||
lint-staged.config.js | ||
netlify.toml | ||
package.json | ||
prettier.config.js | ||
pyproject.toml | ||
renovate.json | ||
rspack.config.cjs | ||
tsconfig.json | ||
yarn.lock |
README.md
Home Assistant Frontend
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
- Supervisor: 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.
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 variety of devices.