Fix incorrect comment. (#11111)

This commit is contained in:
Eitan Mosenkis 2017-12-13 01:04:42 +02:00 committed by Fabian Affolter
parent aeba81e193
commit 95cd2035b6

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.
"""