* Add time-based conditional visibility for cards
* Move clearTimeout outside of scheduleUpdate
* Add time string validation
* Add time string validation
* Remove runtime validation as config shouldnt allow bad values
* Fix for midnight crossing
* Cap timeout to 32-bit signed integer
* Add listener tests
* Additional tests
* Format
* expose showAutomationEditor functionality in ha-panel-custom
* drop connectedCallback change (leftover from earlier test)
* enhance documentation for showAutomationEditor method
* Add automation editor mixin and event declaration for show-automation-editor
* Update ts-eslint
* Remove comments
* Remove unused ts-ignore
* Add undefined generic type instead of unknown
* Remove unused undefined type
* Fix type issues
* Use undefined instead of void for subscribed return type
* Migrate base automation config to plurals
* revert
* Update hat-script-graph.ts
* Make traces work with both new and old config
* Adjust validateConfig
* 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 f5e6a65a37.
* 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>
* Group add automation elements in dialog
* Add search
* clear filter on close
* Split out services
* group services by integration type
* Update add-automation-element-dialog.ts
* fix typing
* clear filter on back
* Update add-automation-element-dialog.ts
* Fix search
* scroll to top
* Add service descriptions
* fix clipboard
* Move play media, sort services
* use helpers
* move to data
* Move building blocks to a group
* fix search
* Update add-automation-element-dialog.ts
* Update en.json
* fix alignment of single line and multi line items
* use repeat instead of map