Add support for multiple entities and hide_states option in state and attribute selectors (#26207)

* Add support for multiple entities and target for state selector

* Add support for multiple entities for attribute selector

* Improve context support

* Add combine mode and fix hidden and entity category for service control

* Don't use combine mode

* Refactor options
This commit is contained in:
Paul Bottein
2025-07-21 07:48:25 +02:00
committed by GitHub
parent 713e8e7b71
commit 3d1c908a01
8 changed files with 169 additions and 80 deletions

View File

@@ -719,7 +719,7 @@ export class HaTargetPicker extends SubscribeMixin(LitElement) {
}
private _entityRegMeetsFilter(entity: EntityRegistryDisplayEntry): boolean {
if (entity.entity_category) {
if (entity.hidden || entity.entity_category) {
return false;
}