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