From b506aafbb4fbbcb8fcdc0b929827d3a66a308308 Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Tue, 6 Nov 2018 12:41:15 +0100 Subject: [PATCH] docstring fix (#18257) --- homeassistant/helpers/discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/helpers/discovery.py b/homeassistant/helpers/discovery.py index 405861eeb75..34f9a95b3a4 100644 --- a/homeassistant/helpers/discovery.py +++ b/homeassistant/helpers/discovery.py @@ -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 + '.' + <> + { ATTR_SERVICE = EVENT_LOAD_PLATFORM + '.' + <> ATTR_PLATFORM = <> ATTR_DISCOVERED = <> } @@ -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 + '.' + <> + { ATTR_SERVICE = EVENT_LOAD_PLATFORM + '.' + <> ATTR_PLATFORM = <> ATTR_DISCOVERED = <> }