mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 18:39:40 +00:00
Fix target-picker floor entities count (#27577)
Fix floor entities count
This commit is contained in:
@@ -457,6 +457,9 @@ export class HaTargetPickerItemRow extends LitElement {
|
|||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
(this.type === "area" && entity.area_id === this.itemId) ||
|
(this.type === "area" && entity.area_id === this.itemId) ||
|
||||||
|
(this.type === "floor" &&
|
||||||
|
entity.area_id &&
|
||||||
|
entries.referenced_areas.includes(entity.area_id)) ||
|
||||||
(this.type === "label" && entity.labels.includes(this.itemId)) ||
|
(this.type === "label" && entity.labels.includes(this.itemId)) ||
|
||||||
entries.referenced_devices.includes(entity.device_id || "")
|
entries.referenced_devices.includes(entity.device_id || "")
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user