Find orphan devices
search_find_orphan_devicesFind devices in the entity registry with no linked entities by comparing device IDs against entity references, so you can review orphaned entries for possible removal.
Instructions
List devices with no entities associated with them in the entity registry.
Compares every device's id against the set of device_id values
referenced by entity-registry entries and returns devices that no
entity points to.
Use when: hunting for device-registry entries that may be safe to remove, always reviewing each result first. Returns: list of dicts (id, name, name_by_user, manufacturer, model, area_id, config_entries) for devices with no referencing entity. Limits: a WS failure on either registry silently yields an empty underlying list rather than an error, which can under-report orphans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |