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
This commit is contained in:
Richard Jones 2019-06-30 18:41:49 +01:00 committed by Alexei Chetroi
parent 4df88738a2
commit a0ec1616d1

View File

@ -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)
},