DiscoveryStrategy

homey.discovery_strategy

A strategy for discovering new devices.

This class must not be initialized by the developer, but created by calling ManagerDiscovery.get_strategy() instead.

Ancestors

  • SimpleClass
  • homey.util.event_emitter.EventEmitter
  • typing.Generic

Methods

get_discovery_results

def get_discovery_results(self) ‑> mappingproxy[str, ~Result]

Get all discovered devices.

Returns

A mapping from IDs to discovery results.

Inherited members