552eeeddf6
* entity-filter: add ability to filter through entity_id value
* review: test filter value against undefined
Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
* review: better handle state values that could be mixed with an entity_id
* Add multiple filter/condition types
* Fix automation's NumericStateCondition above/below types
* Replace operator condition by state for string or number
* Move to condition: type & attr
* Remove enable attr
* fix condition state array
* Remove necessary undefined check
* Move to condition: use same codebase as conditionnal card
* Fix entities error 'read properties of undefined' + conditions first
* Fix lint
* Merge condition to set the entity to filter on
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* review: make numeric_state below & above working together again, with entity_id support
* shorthand getValueFromEntityId
* review: states are string
* Split legacy state filter and condition logic
* Fix types
* Fix type
* Update gallery doc
* Fix operator in while numaric array
* Rename condition card header in gallery
* Don't use real gas station name
* Update gallery
* Update card is entity in condition change
* Don't check for entity id in state condition
* Improve check
* Update condition card demo
* Revert "Don't check for entity id in state condition"
This reverts commit
|
||
---|---|---|
.devcontainer | ||
.github | ||
.husky | ||
.vscode | ||
.yarn | ||
build-scripts | ||
cast | ||
demo | ||
docs | ||
gallery | ||
hassio | ||
public | ||
script | ||
src | ||
test | ||
.browserslistrc | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.nvmrc | ||
.prettierignore | ||
.yarnrc.yml | ||
CLA.md | ||
CODE_OF_CONDUCT.md | ||
LICENSE.md | ||
MANIFEST.in | ||
README.md | ||
gulpfile.js | ||
lint-staged.config.js | ||
netlify.toml | ||
package.json | ||
prettier.config.js | ||
pyproject.toml | ||
renovate.json | ||
rollup.config.js | ||
tsconfig.json | ||
web-dev-server.config.js | ||
webpack.config.cjs | ||
yarn.lock |
README.md
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
- 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.