Add unique_id attribute detail (#563)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Tom Brien <TomBrien@users.noreply.github.com>
This commit is contained in:
Lindsay Ward 2020-06-03 02:45:41 +10:00 committed by GitHub
parent 2625fd0ae8
commit 097284b2b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ title: Entity Registry
sidebar_label: Introduction
---
The entity registry is a registry where Home Assistant keeps track of entities. Any entity that is added to Home Assistant and has a unique ID will be registered in the registry.
The entity registry is a registry where Home Assistant keeps track of entities. Any entity that is added to Home Assistant which specifies the [`unique_id` attribute](/core/entity.md#generic-properties) will be registered in the registry.
Being registered has the advantage that the same entity will always get the same entity ID. It will also prevent other entities from using that entity ID.