From a0ec1616d11c20639058219b04d7c9ea8fd7a93e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sun, 30 Jun 2019 18:41:49 +0100 Subject: [PATCH] Fix named param typo in device_registry example (#284) Param is `config_entry_id`, not `config_entry` see: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/helpers/device_registry.py#L93 --- docs/device_registry_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/device_registry_index.md b/docs/device_registry_index.md index a47d13d5..3ee06835 100644 --- a/docs/device_registry_index.md +++ b/docs/device_registry_index.md @@ -70,7 +70,7 @@ from homeassistant.helpers import device_registry as dr device_registry = await dr.async_get_registry(hass) device_registry.async_get_or_create( - config_entry=entry.entry_id, + config_entry_id=entry.entry_id, connections={ (dr.CONNECTION_NETWORK_MAC, config.mac) },