Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ibeacon.coordinator Namespace Reference

Classes

class  IBeaconCoordinator
 

Functions

None _async_dispatch_update (HomeAssistant hass, str device_id, bluetooth.BluetoothServiceInfoBleak service_info, iBeaconAdvertisement ibeacon_advertisement, bool new, bool unique_address)
 
str async_name (bluetooth.BluetoothServiceInfoBleak service_info, iBeaconAdvertisement ibeacon_advertisement, bool unique_address=False)
 
str make_short_address (str address)
 
str signal_seen (str unique_id)
 
str signal_unavailable (str unique_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 MONOTONIC_TIME = time.monotonic
 

Detailed Description

Tracking for iBeacon devices.

Function Documentation

◆ _async_dispatch_update()

None homeassistant.components.ibeacon.coordinator._async_dispatch_update ( HomeAssistant  hass,
str  device_id,
bluetooth.BluetoothServiceInfoBleak  service_info,
iBeaconAdvertisement  ibeacon_advertisement,
bool  new,
bool  unique_address 
)
private
Dispatch an update.

Definition at line 83 of file coordinator.py.

◆ async_name()

str homeassistant.components.ibeacon.coordinator.async_name ( bluetooth.BluetoothServiceInfoBleak  service_info,
iBeaconAdvertisement  ibeacon_advertisement,
bool   unique_address = False 
)
Return a name for the device.

Definition at line 62 of file coordinator.py.

◆ make_short_address()

str homeassistant.components.ibeacon.coordinator.make_short_address ( str  address)
Convert a Bluetooth address to a short address.

Definition at line 55 of file coordinator.py.

◆ signal_seen()

str homeassistant.components.ibeacon.coordinator.signal_seen ( str  unique_id)
Signal for the unique_id being seen.

Definition at line 50 of file coordinator.py.

◆ signal_unavailable()

str homeassistant.components.ibeacon.coordinator.signal_unavailable ( str  unique_id)
Signal for the unique_id going unavailable.

Definition at line 45 of file coordinator.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.ibeacon.coordinator._LOGGER = logging.getLogger(__name__)
private

Definition at line 40 of file coordinator.py.

◆ MONOTONIC_TIME

homeassistant.components.ibeacon.coordinator.MONOTONIC_TIME = time.monotonic

Definition at line 42 of file coordinator.py.