DiscoveryResult

homey.discovery_result

Base class for the results of discovery strategies.

Ancestors

  • SimpleClass
  • homey.util.event_emitter.EventEmitter
  • typing.Generic
  • homey.client.serializer.Serializable
  • abc.ABC

Subclasses

Instance variables

id

var id : Final[str]

The ID of the device assigned by Homey.

address

var address : str | None

The IP address of the device.

last_seen

var last_seen : datetime

When the device has last been discovered.

Methods

on_address_changed

def on_address_changed(self, f: Callable[[Self], None]) ‑> Self

on_last_seen_changed

def on_last_seen_changed(self, f: Callable[[Self], None]) ‑> Self

Inherited members