Files
iOS/Sources/Extensions
Copilot dad7295f4f Enable search by entity ID and area name in HAAppEntityAppIntentEntity (#4075)
## Summary

Extended entity search in App Intents to match against entity ID and
area name in addition to entity display name.

**Modified:** `HAAppEntityAppIntentEntityQuery.entities(matching:)`
- Added case-insensitive matching on `entityId` 
- Added case-insensitive matching on `area` (with nil-safe handling)
- Combined with existing `displayString` match using OR logic

Users can now search entities by:
- Display name: "Living Room Light"
- Entity ID: "light.living_room" 
- Area: "Living Room"

## Screenshots

N/A - Backend search logic change only

## Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

## Any other notes

None

<!-- START COPILOT CODING AGENT SUFFIX -->



<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> When searching HAAppEntityAppIntentEntity, allow matching name, entity
id and area name


</details>



<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bgoncal <5808343+bgoncal@users.noreply.github.com>
2025-12-10 16:36:12 +00:00
..
2025-11-26 16:26:54 +00:00