mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 12:26:29 +00:00
Document entry_type (#495)
This commit is contained in:
parent
bd39ded944
commit
39792dc8b3
@ -24,18 +24,19 @@ Although not currently available, we could consider offering an option to users
|
||||
|
||||
## Device properties
|
||||
|
||||
| Attribute | Description |
|
||||
| --------- | ----------- |
|
||||
| id | Unique ID of device (generated by Home Assistant)
|
||||
| name | Name of this device
|
||||
| connections | A set of tuples of `(connection_type, connection identifier)`. Connection types are defined in the device registry module.
|
||||
| identifiers | Set of identifiers. They identify the device in the outside world. An example is a serial number.
|
||||
| manufacturer | The manufacturer of the device.
|
||||
| model | The model of the device.
|
||||
| config_entries | Config entries that are linked to this device.
|
||||
| sw_version | The firmware version of the device.
|
||||
| via_device | Identifier of a device that routes messages between this device and Home Assistant. Examples of such devices are hubs, or parent devices of a sub-device. This is used to show device topology in Home Assistant.
|
||||
| area_id | The Area which the device is placed in.
|
||||
| Attribute | Description |
|
||||
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| id | Unique ID of device (generated by Home Assistant) |
|
||||
| name | Name of this device |
|
||||
| connections | A set of tuples of `(connection_type, connection identifier)`. Connection types are defined in the device registry module. |
|
||||
| identifiers | Set of identifiers. They identify the device in the outside world. An example is a serial number. |
|
||||
| manufacturer | The manufacturer of the device. |
|
||||
| model | The model of the device. |
|
||||
| config_entries | Config entries that are linked to this device. |
|
||||
| sw_version | The firmware version of the device. |
|
||||
| via_device | Identifier of a device that routes messages between this device and Home Assistant. Examples of such devices are hubs, or parent devices of a sub-device. This is used to show device topology in Home Assistant. |
|
||||
| area_id | The Area which the device is placed in. |
|
||||
| entry_type | The type of entry. Possible value is `None` and `"service"`. |
|
||||
|
||||
## Defining devices
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user