Add filter options to entity and device selectors#15302
Merged
Conversation
2d2e838 to
2858519
Compare
9 tasks
2858519 to
c727998
Compare
19 tasks
8 tasks
Member
|
This needs updating to look at |
Member
|
Can we rewrite the old schema to new schema instead, so the code only needs to handle the new config and not care about the old config. So when we get We create |
bramkragten
reviewed
Feb 6, 2023
d1f1e0d to
f64366e
Compare
119e171 to
a6c81fc
Compare
bramkragten
approved these changes
Feb 20, 2023
19 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking changes
Entity filters are now inside
filterproperty but we can add backward compatibility.Proposed change
filterconfig for entity selector to allow array of filter.filterconfig for device selector to allow array of filter.device_classlist for entity filter configIt fixes somes issues :
input_datetimedomain and sensor domain withtimestampdevice class : Support for timestamp sensors in time trigger automation UI #15292New schemas
Example
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: