mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Document default_* keys for device info (#852)
This commit is contained in:
parent
53f669ba41
commit
7f2bee18a8
@ -64,6 +64,8 @@ class HueLight(LightEntity):
|
||||
}
|
||||
```
|
||||
|
||||
Besides device properties, `device_info` can also include `default_manufacturer`, `default_model`, `default_name`. These values will be added to the device registry if no other value is defined just yet. This can be used by integrations that know some information but not very specific. For example, a router that identifies devices based on MAC addresses.
|
||||
|
||||
### Manual Registration
|
||||
|
||||
Components are also able to register devices in the case that there are no entities representing them. An example is a hub that communicates with the lights.
|
||||
|
Loading…
x
Reference in New Issue
Block a user