Fix incorrect comment. (#11111)
This commit is contained in:
parent
aeba81e193
commit
95cd2035b6
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue