mirror of
https://github.com/home-assistant/frontend.git
synced 2026-07-02 12:05:39 +01:00
04b284159aaa77789e25fff4e1fbd4d4ea53e27b
* Pass the integration domain to the flow form context In options flows the flow handler is the config entry id, not the integration domain. Expose the resolved domain (falling back to the handler for config flows) on the flow form context so selectors can rely on the actual domain regardless of the flow type. * Use the flow domain for serial port recommendations The serial port selector marked a port as recommended by comparing matching integrations against `context.handler`. In options flows the handler is the config entry id, so an integration's own ports were classified as "not recommended" and labelled "Used by <integration>". Prefer `context.domain` (with a fallback to `handler`) so the integration's own ports stay recommended in options flows too. * Drop the handler fallback for the serial port selector domain `step-flow-form` is the only context producer that sets `handler`, and it now always sets `domain` alongside it, so the fallback never resolves to a different value. In options flows `handler` is the config entry id anyway, which would be the wrong value to fall back to.
Bump home-assistant/actions from 868e6cb4607727d764341a158d98872cd63fa658 to e91ad1948e57189485b9c1ad608af0c303946f89 (#52602)
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.7%
JavaScript
1.2%

