mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
c8471cb6234bb6f1fbf5863a3fabeefe1b1fe7d2
* add "hideUnit" to formatEntityAttributeValue() * add "hideUnit" to formatEntityAttributeValue() * add "hideUnit" to computeAttributeValueDisplay() * use formatEntityAttributeValue() with "hideUnit" * fix logic for "hideUnit" for ha-attribute-value * prettier * remove hideUnit from formatEntityAttributeValue() * revert to the initial code * revert to the initial code * revert to the initial code * use formatEntityAttributeValuePart() to get a value w/o unit * use formatEntityAttributeValueToParts() instead of formatEntityAttributeValuePart() * fix a value * fix name of a const * Update src/components/ha-attribute-value.ts Co-authored-by: Paul Bottein <paul.bottein@gmail.com> * Prettier --------- Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
…
…
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%

