🍭 Frontend for Home Assistant https://demo.home-assistant.io
  • TypeScript 98.8%
  • JavaScript 1.1%
Find a file
Franck Nijhof 4a030884f5
Skip entities table list rebuild on plain state changes (#52586)
While the entities configuration table is open, willUpdate rebuilt the
list of entities without a unique id on every hass update. Because each
state update produces a new states object, the oldHass.states !==
this.hass.states guard was always true, so on every state tick the panel
allocated a Set over all registry entities, iterated every state, and built
StateEntity objects, then discarded the result unless a non-registry entity
had actually been added.

Detect a newly added entity up front and only enter the rebuild when the
set of entity ids could have changed (or a registry, entity-sources, or
exposed-entities dependency changed). A plain state value change on an
existing entity can no longer trigger the rebuild. Behavior is unchanged:
the inner assignment already only ran when an entity was added.
2026-06-13 17:13:09 +02:00
.devcontainer Fixup dev container (#29376) 2026-02-04 08:33:39 +02:00
.github Add a blocking labels workflow (#52531) 2026-06-10 13:53:51 +02:00
.husky Update dependency lint-staged to v16 (#25463) 2025-06-03 19:18:39 +00:00
.vscode Remove supervisor build (#29132) 2026-01-22 13:30:33 +01:00
.yarn Update yarn monorepo to v4.16.0 (#52449) 2026-06-05 14:52:54 +01:00
build-scripts Revamp design/gallery to use theming and align with app ui (#52495) 2026-06-09 13:35:56 +03:00
cast Fix errors loading the demo site (#51695) 2026-04-29 12:04:51 +01:00
demo Fix demo instance mock recorder data generation (#51950) 2026-05-10 10:18:44 +02:00
docs
gallery Revamp design/gallery to use theming and align with app ui (#52495) 2026-06-09 13:35:56 +03:00
landing-page Landingpage download progress (#52359) 2026-06-03 12:07:01 +03:00
public Fix automation behavior img file names (#52247) 2026-05-28 14:33:55 +02:00
script Create third party license file during production build, add CI (#30360) 2026-05-13 11:28:22 +02:00
src Skip entities table list rebuild on plain state changes (#52586) 2026-06-13 17:13:09 +02:00
test Cache Intl.NumberFormat instances in formatNumber (#52583) 2026-06-13 17:01:33 +02:00
.browserslistrc Drop support for IE 11 and Samsung 4 (#23234) 2024-12-10 10:35:33 +01:00
.gitattributes
.gitignore Ignore local opencode directory (#51504) 2026-04-10 12:44:48 +02:00
.gitmodules
.nvmrc Update Node.js to v24.16.0 (#52140) 2026-05-21 17:03:13 +02:00
.prettierignore
.yarnrc.yml Update yarn monorepo to v4.16.0 (#52449) 2026-06-05 14:52:54 +01:00
AGENTS.md Update LLM instructions to recent codebase changes (#28017) 2025-11-20 17:59:56 +00:00
CLA.md
CLAUDE.md Add initial instructions file for GitHub Copilot and Claude Code (#25967) 2025-06-27 18:06:23 +02:00
CODE_OF_CONDUCT.md
CODEOWNERS Revert "Add Mobile team and design has codeowner of the theme colors" (#26432) 2025-08-07 15:06:41 +02:00
eslint.config.mjs Revamp design/gallery to use theming and align with app ui (#52495) 2026-06-09 13:35:56 +03:00
gulpfile.js Fix ERR_REQUIRE_ASYNC_MODULE error when executing gulp (#23687) 2025-01-14 11:29:34 +01:00
LICENSE.md
lint-staged.config.js Update eslint to v10.1.0 (#51352) 2026-04-07 08:33:58 +03:00
MANIFEST.in
netlify.toml Remove YARN_VERSION from netlify.toml (inherit packageManager) (#52101) 2026-05-19 13:26:33 +02:00
package.json Update html-eslint monorepo to v0.62.0 (#52573) 2026-06-12 20:52:00 +02:00
prettier.config.js Prettier one line format in style .globals.ts files (#26991) 2025-09-10 14:54:34 +02:00
pyproject.toml Bumped version to 20260527.0 2026-05-27 15:26:39 +02:00
README.md Remove supervisor build (#29132) 2026-01-22 13:30:33 +01:00
renovate.json Migrate Renovate config (#52105) 2026-05-19 14:07:06 +00:00
rspack.config.cjs Update ts-eslint (#23723) 2025-01-14 11:24:02 +01:00
tsconfig.json Update formatjs monorepo (#51601) 2026-04-20 06:07:59 +00:00
yarn.lock Update html-eslint monorepo to v0.62.0 (#52573) 2026-06-12 20:52:00 +02:00

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

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