* 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 f5e6a65a370c108cb68876aeeafe348eead6e8be.
* Use set instead of list
* Update demo
---------
Co-authored-by: karwosts <32912880+karwosts@users.noreply.github.com>
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Add note that integration only supports one entry on the integration page
* Set on error
* Move single instance info to the manifest and add it to the add integration dialog as well
* Get config entries only when single_instance_only set and add check to redirect
* Make single_instance_only optional
* Add missing import
* Use new manifest option name
* Fix translation key
* Rename dialog and re-add button
* Fix linting error
* Use alert dialog instead of new one
* Remove ha-alert on integration page
* Remove css change
* Apply language tweak
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Add grid options to cards
* Fix the height of the card it's rows option is provided
* Add variable
* Adjust grid margin
* Use layout options
* Fix max width when only one column
* Update card API