mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
d9c39640e0dc70d11dc553062da615375e1e08c2
* Preserve entity unit_of_measurement in gas and water flow rate badges The gas and water total badges on the energy dashboard Now tab previously converted all flow rate values to L/min and then formatted them as either L/min or gal/min based on the unit system. This meant entities reporting in m³/h or other units always displayed incorrectly. Now the badges preserve the unit_of_measurement from the entities. If all entities share the same unit, the raw values are summed directly. If they differ, values are converted through L/min as an intermediate and displayed in the first entity's unit. * Extract shared computeTotalFlowRate to energy.ts
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%

