parent
50b6c5948d
commit
ea2ff6aae3
26 changed files with 50 additions and 49 deletions
|
@ -107,7 +107,7 @@ async def async_setup(hass, config):
|
|||
('scene', 'Scene'),
|
||||
('notify', 'Notification')):
|
||||
found_devices = _get_devices(hass, discovery_type)
|
||||
hass.async_add_job(
|
||||
hass.async_create_task(
|
||||
discovery.async_load_platform(hass, component, DOMAIN, {
|
||||
ATTR_DISCOVER_DEVICES: found_devices
|
||||
}, config))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue