Fix incorrect comment. (#11111)

This commit is contained in:
Eitan Mosenkis authored and Fabian Affolter committed 2017-12-13 00:04:42 +01:00
1 parent aeba81e193
commit 95cd2035b6
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ def async_load_platform(hass, component, platform, discovered=None,
Use `listen_platform` to register a callback for these events.
Warning: Do not yield from this inside a setup method to avoid a dead lock.
Use `hass.loop.async_add_job(async_load_platform(..))` instead.
Use `hass.async_add_job(async_load_platform(..))` instead.
This method is a coroutine.
"""