Disable entity in registry
entities_disable_entityDisable a Home Assistant entity to stop it from creating state, without deleting its registry entry. Use when retiring an entity but keeping its record.
Instructions
Disable an entity in the registry so Home Assistant stops creating its state.
Calls WS config/entity_registry/update with disabled_by="user".
Use when: retiring an entity without deleting its registry entry.
Not for: re-enabling it — use entities_enable_entity.
Returns: the updated entity registry entry from Home Assistant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full entity ID to disable, e.g. 'sensor.old_device'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||