Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore TupleLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ImportFrom alias Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str With NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list
N/A N/A 
Starts a service to scan in intervals for new devices.

Will emit EVENT_PLATFORM_DISCOVERED whenever a new service has been discovered.

Knows which components handle certain types, will make sure they are
loaded before the EVENT_PLATFORM_DISCOVERED is fired.
 N/A logging N/A threading homeassistant bootstrap homeassistant.const ATTR_DISCOVERED ATTR_SERVICE EVENT_HOMEASSISTANT_START EVENT_PLATFORM_DISCOVERED N/A DOMAIN discovery N/A REQUIREMENTS N/A netdisco==0.6.6 N/A SCAN_INTERVAL 300 N/A SERVICE_WEMO belkin_wemo N/A SERVICE_HUE philips_hue N/A SERVICE_CAST google_cast N/A SERVICE_NETGEAR netgear_router N/A SERVICE_SONOS sonos N/A SERVICE_PLEX plex_mediaserver N/A SERVICE_SQUEEZEBOX logitech_mediaserver N/A SERVICE_PANASONIC_VIERA panasonic_viera N/A SERVICE_HANDLERS N/A SERVICE_WEMO SERVICE_CAST SERVICE_HUE SERVICE_NETGEAR SERVICE_SONOS SERVICE_PLEX SERVICE_SQUEEZEBOX SERVICE_PANASONIC_VIERA wemo media_player light device_tracker media_player media_player media_player media_player listen N/A N/A hass service callback N/A N/A N/A Setup listener for discovery of specific service.

    Service can be a string or a list/tuple.
     N/A N/A isinstance service str N/A N/A service N/A service N/A N/A service N/A tuple service discovery_event_listener N/A N/A event N/A N/A N/A Listen for discovery events. N/A N/A N/A N/A event data N/A ATTR_SERVICE service N/A N/A N/A callback N/A N/A event data N/A ATTR_SERVICE N/A N/A N/A event data get ATTR_DISCOVERED N/A N/A N/A N/A N/A hass bus listen EVENT_PLATFORM_DISCOVERED discovery_event_listener N/A discover N/A N/A hass service discovered component hass_config N/A None None None N/A N/A Fire discovery event. Can ensure a component is loaded. N/A N/A component None N/A N/A N/A N/A bootstrap setup_component hass component hass_config N/A data N/A ATTR_SERVICE service N/A N/A discovered None N/A N/A N/A data N/A ATTR_DISCOVERED discovered N/A N/A N/A N/A hass bus fire EVENT_PLATFORM_DISCOVERED data N/A setup N/A N/A hass config N/A N/A N/A Start a discovery service. N/A logger N/A N/A logging getLogger __name__ netdisco.service DiscoveryService N/A N/A N/A N/A N/A logging getLogger zeroconf setLevel N/A logging CRITICAL N/A lock N/A N/A threading Lock new_service_listener N/A N/A service info N/A N/A N/A Called when a new service is found. N/A lock N/A N/A N/A N/A logger info Found new service: %s %s service info N/A component N/A N/A SERVICE_HANDLERS get service N/A N/A component N/A N/A N/A N/A N/A N/A bootstrap setup_component hass component config N/A N/A N/A N/A N/A N/A hass bus fire EVENT_PLATFORM_DISCOVERED N/A ATTR_SERVICE ATTR_DISCOVERED service info N/A start_discovery N/A N/A event N/A N/A N/A Start discovering. N/A netdisco N/A DiscoveryService SCAN_INTERVAL N/A N/A N/A netdisco add_listener new_service_listener N/A N/A N/A netdisco start N/A N/A N/A N/A N/A hass bus listen_once EVENT_HOMEASSISTANT_START start_discovery N/A True N/A