mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-25 20:12:48 +00:00
c7e07569d7f546e9df77d02dc4bb544b6db267ec
Move the view-selection logic from ha-panel-energy into a dedicated energy dashboard strategy, consistent with how home/areas/map dashboards work. The strategy decides which view strategies (electricity, gas, water, power, overview) to show based on energy preferences. Extract shared constants into a separate module to avoid circular dependencies between the panel and view strategies.
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
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.
Description
Languages
TypeScript
98.8%
JavaScript
1.1%

