mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
make supported feature selector any instead of all (#16040)
make filterSupportedFeature any instead of all
This commit is contained in:
parent
975f371ba8
commit
dba16edabc
@ -389,8 +389,8 @@ export const filterSelectorEntities = (
|
||||
|
||||
if (filterSupportedFeature) {
|
||||
if (
|
||||
ensureArray(filterSupportedFeature).some(
|
||||
(feature) => !supportsFeature(entity, feature)
|
||||
!ensureArray(filterSupportedFeature).some((feature) =>
|
||||
supportsFeature(entity, feature)
|
||||
)
|
||||
) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user