Render target picker combo-box in overlaying menu surface (#14970)

This commit is contained in:
Bram Kragten
2023-02-20 17:32:52 +01:00
committed by GitHub
parent cabbbcf9f3
commit 5f9f51f92d
6 changed files with 146 additions and 120 deletions

View File

@@ -214,7 +214,7 @@ export class HaDevicePicker extends SubscribeMixin(LitElement) {
if (!devEntities || !devEntities.length) {
return false;
}
return deviceEntityLookup[device.id].some((entity) => {
return devEntities.some((entity) => {
const stateObj = this.hass.states[entity.entity_id];
if (!stateObj) {
return false;