mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
docstring fix (#18257)
This commit is contained in:
parent
121ec5c684
commit
b506aafbb4
@ -119,7 +119,7 @@ def load_platform(hass, component, platform, discovered, hass_config):
|
||||
|
||||
Target components will be loaded and an EVENT_PLATFORM_DISCOVERED will be
|
||||
fired to load the platform. The event will contain:
|
||||
{ ATTR_SERVICE = LOAD_PLATFORM + '.' + <<component>>
|
||||
{ ATTR_SERVICE = EVENT_LOAD_PLATFORM + '.' + <<component>>
|
||||
ATTR_PLATFORM = <<platform>>
|
||||
ATTR_DISCOVERED = <<discovery info>> }
|
||||
|
||||
@ -137,7 +137,7 @@ async def async_load_platform(hass, component, platform, discovered,
|
||||
|
||||
Target components will be loaded and an EVENT_PLATFORM_DISCOVERED will be
|
||||
fired to load the platform. The event will contain:
|
||||
{ ATTR_SERVICE = LOAD_PLATFORM + '.' + <<component>>
|
||||
{ ATTR_SERVICE = EVENT_LOAD_PLATFORM + '.' + <<component>>
|
||||
ATTR_PLATFORM = <<platform>>
|
||||
ATTR_DISCOVERED = <<discovery info>> }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user