From 7f2bee18a875c70e756c956b9b4c9f98ae10889f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 16 Mar 2021 21:24:25 -0700 Subject: [PATCH] Document default_* keys for device info (#852) --- docs/device_registry_index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/device_registry_index.md b/docs/device_registry_index.md index 61138654..b9bd064f 100644 --- a/docs/device_registry_index.md +++ b/docs/device_registry_index.md @@ -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.