Home Assistant Unofficial Reference 2024.12.1
discovery.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.discovery.DiscoveryDict
 

Namespaces

 homeassistant.helpers.discovery
 

Functions

None homeassistant.helpers.discovery.async_discover (core.HomeAssistant hass, str service, DiscoveryInfoType|None discovered, str|None component, ConfigType hass_config)
 
None homeassistant.helpers.discovery.async_listen (core.HomeAssistant hass, str service, Callable[[str, DiscoveryInfoType|None], Coroutine[Any, Any, None]|None] callback)
 
Callable[[], None] homeassistant.helpers.discovery.async_listen_platform (core.HomeAssistant hass, str component, Callable[[str, dict[str, Any]|None], Any] callback)
 
None homeassistant.helpers.discovery.async_load_platform (core.HomeAssistant hass, Platform|str component, str platform, DiscoveryInfoType|None discovered, ConfigType hass_config)
 
None homeassistant.helpers.discovery.discover (core.HomeAssistant hass, str service, DiscoveryInfoType discovered, str component, ConfigType hass_config)
 
None homeassistant.helpers.discovery.load_platform (core.HomeAssistant hass, Platform|str component, str platform, DiscoveryInfoType|None discovered, ConfigType hass_config)
 

Variables

string homeassistant.helpers.discovery.ATTR_DISCOVERED = "discovered"
 
string homeassistant.helpers.discovery.ATTR_PLATFORM = "platform"
 
string homeassistant.helpers.discovery.EVENT_LOAD_PLATFORM = "load_platform.{}"