diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 6467869610d..5cedfc5cb09 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -154,7 +154,7 @@ def async_setup(hass: HomeAssistantType, config: ConfigType): scanner = yield from hass.loop.run_in_executor( None, platform.get_scanner, hass, {DOMAIN: p_config}) elif hasattr(platform, 'async_setup_scanner'): - setup = yield from platform.setup_scanner( + setup = yield from platform.async_setup_scanner( hass, p_config, tracker.see) elif hasattr(platform, 'setup_scanner'): setup = yield from hass.loop.run_in_executor(