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 | |
Tracking for iBeacon devices.
|
private |
Dispatch an update.
Definition at line 83 of file coordinator.py.
| 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.
| 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.
| 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.
| 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.
|
private |
Definition at line 40 of file coordinator.py.
| homeassistant.components.ibeacon.coordinator.MONOTONIC_TIME = time.monotonic |
Definition at line 42 of file coordinator.py.