mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Fix incorrect comment. (#11111)
This commit is contained in:
parent
aeba81e193
commit
95cd2035b6
@ -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…
x
Reference in New Issue
Block a user