MCPcopy Index your code
hub / github.com/elenagalun/front

github.com/elenagalun/front @20250205.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 20250205.0 ↗ · + Follow
15,647 symbols 35,155 edges 2,156 files 16 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

HassSubscribeElement (Interface)
(no doc) [47 implementers]
src/mixins/subscribe-mixin.ts
HaFormElement (Interface)
(no doc) [11 implementers]
src/components/ha-form/types.ts
LovelaceViewElement (Interface)
(no doc) [206 implementers]
src/data/lovelace.ts
LovelaceBadge (Interface)
(no doc) [206 implementers]
src/panels/lovelace/types.ts
HassDialog (Interface)
(no doc) [155 implementers]
src/dialogs/make-dialog-manager.ts
AudioWorkletProcessor (Interface)
(no doc) [1 implementers]
src/types/audio.d.ts
Window (Interface)
(no doc)
src/types.ts
HTMLElementTagNameMap (Interface)
(no doc)
src/layouts/hass-subpage.ts

Core symbols most depended-on inside this repo

fireEvent
called by 1222
src/common/dom/fire_event.ts
callWS
called by 373
src/types.ts
addEventListener
called by 275
src/cast/cast_manager.ts
showAlertDialog
called by 255
src/dialogs/generic/show-dialog-box.ts
supportsFeature
called by 250
src/common/entity/supports-feature.ts
getEntity
called by 234
src/fake_data/entity.ts
keys
called by 233
src/types/service-worker.d.ts
values
called by 204
src/types/service-worker.d.ts

Shape

Method 8,079
Class 2,700
Interface 2,657
Function 2,151
Enum 60

Languages

TypeScript100%
Python1%

Modules by API surface

src/data/zwave_js.ts92 symbols
src/data/selector.ts70 symbols
src/panels/lovelace/cards/types.ts58 symbols
src/data/zha.ts52 symbols
src/data/automation.ts52 symbols
src/panels/config/scene/ha-scene-editor.ts48 symbols
src/fake_data/entity.ts47 symbols
src/util/hass-media-player-model.ts46 symbols
src/data/energy.ts46 symbols
src/external_app/external_messaging.ts44 symbols
src/components/ha-sidebar.ts43 symbols
src/panels/lovelace/types.ts42 symbols

For agents

$ claude mcp add front \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact