Remove device from config entry
devices_remove_deviceRemove a device from one Home Assistant config entry while preserving its other config entries and integrations.
Instructions
Remove a device from one of its config entries.
Calls WS config_entries/remove_device with both IDs; if the device
belongs to other config entries it keeps existing under those.
Use when: detaching a device from one integration without touching its
other config entries.
Returns: dict with device_id, config_entry_id and the raw WS
result.
Limits: both device_id and config_entry_id are required — there is
no way to remove a device from every config entry in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device registry ID to remove; obtain it from devices_list_devices. | |
| config_entry_id | Yes | Config entry ID the device is attached to; the device is detached only from this entry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||