mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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 (filterSupportedFeature) {
|
||||||
if (
|
if (
|
||||||
ensureArray(filterSupportedFeature).some(
|
!ensureArray(filterSupportedFeature).some((feature) =>
|
||||||
(feature) => !supportsFeature(entity, feature)
|
supportsFeature(entity, feature)
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user