🍭 Frontend for Home Assistant
 
 
Go to file
J. Nick Koston dd00b51f21
Adjust WebSocket ping timeout to 15 seconds
5 seconds was too low to prevent the UI from reloading
when connecting the WebSocket during startup or on
a high latancy connection

This problem presented as the UI reloading over
and over again because it could never respond
to the ping in time on high latancy connections.

At startup it usually only did this once so it
went unnoticed in most cases.

This ping was added in #18934
2025-02-20 11:46:59 -06:00
.devcontainer Move python 3.12 to python 3.13 (#23585) 2025-01-06 09:31:13 +01:00
.github Bump actions/stale from 9.0.0 to 9.1.0 (#23903) 2025-01-27 09:24:34 +02:00
.husky Update dependency husky to v9.1.3 (#21443) 2024-07-30 07:44:43 +00:00
.vscode Rspack (#22807) 2024-11-26 14:49:13 +01:00
.yarn Update Yarn to v4.6.0 (#23532) 2025-01-01 15:46:25 +01:00
build-scripts Fix ERR_REQUIRE_ASYNC_MODULE error when executing gulp (#23687) 2025-01-14 11:29:34 +01:00
cast Fix cast views not showing a background (#23724) 2025-01-15 10:48:05 +01:00
demo Add and fix stylistic eslint rules (#23735) 2025-01-14 21:00:14 +01:00
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#717) 2017-12-05 22:56:14 -08:00
gallery Allow storing temperature/humidity entities on an area (#23822) 2025-01-21 17:37:51 +01:00
hassio Reintroduce backup switch when updating core and addons (#23814) 2025-01-27 08:25:28 +01:00
landing-page Update ts-eslint (#23723) 2025-01-14 11:24:02 +01:00
public Landing page (#22598) 2024-11-20 16:20:08 +00:00
script Spelling and grammar fixes (#23598) 2025-01-06 12:10:34 +01:00
src Adjust WebSocket ping timeout to 15 seconds 2025-02-20 11:46:59 -06:00
test Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
.browserslistrc Drop support for IE 11 and Samsung 4 (#23234) 2024-12-10 10:35:33 +01:00
.gitattributes Add image to demo media player (#5086) 2020-03-06 13:44:59 +01:00
.gitignore Add unit tests for common/array files (#23006) 2024-11-27 10:02:24 +02:00
.gitmodules Initial getting rid of HA-JS (#180) 2017-01-29 18:34:45 -08:00
.nvmrc Add some Renovate groups and enable NVM updates (#18559) 2023-11-07 11:53:47 +01:00
.prettierignore Make pull request template more in line with core (#17441) 2023-09-21 17:23:31 +02:00
.yarnrc.yml Update Yarn to v4.6.0 (#23532) 2025-01-01 15:46:25 +01:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#6048) 2020-05-25 16:35:57 -07:00
LICENSE.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
MANIFEST.in Move to `setup.cfg` and config for `build-system` (#11484) 2022-01-28 21:18:17 -08:00
README.md Add OHF logo to README (#22165) 2024-09-30 17:10:45 +02:00
eslint.config.mjs Add and fix stylistic eslint rules (#23735) 2025-01-14 21:00:14 +01:00
gulpfile.js Fix ERR_REQUIRE_ASYNC_MODULE error when executing gulp (#23687) 2025-01-14 11:29:34 +01:00
lint-staged.config.js Fix lint-staged with eslint v9 (#22880) 2024-11-19 14:03:38 +01:00
netlify.toml Use browser default time and number formatting with polyfills if needed (#9481) 2021-09-29 23:34:52 +00:00
package.json Update dependency lint-staged to v15.4.3 (#23937) 2025-01-29 16:23:04 +01:00
prettier.config.js Update dependency prettier to v3 (#17215) 2023-07-14 17:40:17 +00:00
pyproject.toml Bumped version to 20250129.0 2025-01-29 16:38:25 +01:00
renovate.json Cleanup unused WDS deps and config (#23155) 2024-12-06 09:57:46 +01:00
rspack.config.cjs Update ts-eslint (#23723) 2025-01-14 11:24:02 +01:00
tsconfig.json Update dependency prettier to v3.2.5 (#19711) 2024-02-12 22:53:41 +00:00
yarn.lock Update dependency lint-staged to v15.4.3 (#23937) 2025-01-29 16:23:04 +01:00

README.md

Home Assistant Frontend

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
  • 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.

Home Assistant - A project from the Open Home Foundation