mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 04:16:29 +00:00
Update device_registry_index.md
This commit is contained in:
parent
5d2385de10
commit
c318d0bf75
@ -3,8 +3,6 @@ title: Device Registry
|
||||
sidebar_label: Introduction
|
||||
---
|
||||
|
||||
> Entities can only be added to the device registry if they have been loaded via a [config entry](config_entries_index.md).
|
||||
|
||||
The device registry is a registry where Home Assistant keeps track of devices. A device is represented in Home Assistant via one or more entities. For example, a battery-powered temperature and a humidity sensor might expose entities for temperature, humidity and battery level.
|
||||
|
||||
<img
|
||||
@ -25,6 +23,8 @@ The device registry is a registry where Home Assistant keeps track of devices. A
|
||||
|
||||
## Defining devices
|
||||
|
||||
> Entity device info is only read if the entity is loaded via a [config entry](config_entries_index.md).
|
||||
|
||||
Each entity is able to define a device via the `device_info` property. This property is read when an entity is added to Home Assistant via a config entry. A device will be be matched up with an existing device via supplied identifiers and connections, like serial numbers or MAC addresses.
|
||||
|
||||
```python
|
||||
|
Loading…
x
Reference in New Issue
Block a user