docstring fix (#18257)

This commit is contained in:
Matthias Urlichs 2018-11-06 12:41:15 +01:00 committed by Paulus Schoutsen
parent 121ec5c684
commit b506aafbb4

View file

@ -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>> }