Public Member Functions | |
| None | __init__ (self, ConfigEntry entry, DataUpdateCoordinator[None] coordinator, Tile tile) |
| None | async_added_to_hass (self) |
| bool | available (self) |
| DeviceInfo | device_info (self) |
Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity | |
| None | __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None) |
| None | async_update (self) |
Public Member Functions inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator | |
| None | __init__ (self, HomeAssistant hass, logging.Logger logger, *config_entries.ConfigEntry|None|UndefinedType config_entry=UNDEFINED, str name, timedelta|None update_interval=None, Callable[[], Awaitable[_DataT]]|None update_method=None, Callable[[], Awaitable[None]]|None setup_method=None, Debouncer[Coroutine[Any, Any, None]]|None request_refresh_debouncer=None, bool always_update=True) |
| Callable[[], None] | async_add_listener (self, CALLBACK_TYPE update_callback, Any context=None) |
| None | async_config_entry_first_refresh (self) |
| Generator[Any] | async_contexts (self) |
| None | async_refresh (self) |
| None | async_register_shutdown (self) |
| None | async_request_refresh (self) |
| None | async_set_update_error (self, Exception err) |
| None | async_set_updated_data (self, _DataT data) |
| None | async_shutdown (self) |
| None | async_update_listeners (self) |
| timedelta|None | update_interval (self) |
| None | update_interval (self, timedelta|None value) |
Private Member Functions | |
| None | _handle_coordinator_update (self) |
| None | _update_from_latest_data (self) |
Private Attributes | |
| _attr_extra_state_attributes | |
| _attr_latitude | |
| _attr_location_accuracy | |
| _attr_longitude | |
| _attr_unique_id | |
| _entry | |
| _tile | |
Static Private Attributes | |
| bool | _attr_has_entity_name = True |
| _attr_name = None | |
| string | _attr_translation_key = "tile" |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator | |
| always_update | |
| config_entry | |
| data | |
| hass | |
| last_exception | |
| last_update_success | |
| logger | |
| name | |
| setup_method | |
| update_interval | |
| update_method | |
Representation of a network infrastructure device.
Definition at line 78 of file device_tracker.py.
| None homeassistant.components.tile.device_tracker.TileDeviceTracker.__init__ | ( | self, | |
| ConfigEntry | entry, | ||
| DataUpdateCoordinator[None] | coordinator, | ||
| Tile | tile | ||
| ) |
Initialize.
Definition at line 85 of file device_tracker.py.
|
private |
Respond to a DataUpdateCoordinator update.
Definition at line 107 of file device_tracker.py.
|
private |
Update the entity from the latest data.
Definition at line 113 of file device_tracker.py.
| None homeassistant.components.tile.device_tracker.TileDeviceTracker.async_added_to_hass | ( | self | ) |
Handle entity which will be added.
Definition at line 141 of file device_tracker.py.
| bool homeassistant.components.tile.device_tracker.TileDeviceTracker.available | ( | self | ) |
Return if entity is available.
Reimplemented from homeassistant.helpers.update_coordinator.CoordinatorEntity.
Definition at line 97 of file device_tracker.py.
| DeviceInfo homeassistant.components.tile.device_tracker.TileDeviceTracker.device_info | ( | self | ) |
Return device info.
Definition at line 102 of file device_tracker.py.
|
private |
Definition at line 91 of file device_tracker.py.
|
staticprivate |
Definition at line 81 of file device_tracker.py.
|
private |
Definition at line 118 of file device_tracker.py.
|
private |
Definition at line 119 of file device_tracker.py.
|
private |
Definition at line 115 of file device_tracker.py.
|
staticprivate |
Definition at line 82 of file device_tracker.py.
|
staticprivate |
Definition at line 83 of file device_tracker.py.
|
private |
Definition at line 92 of file device_tracker.py.
|
private |
Definition at line 93 of file device_tracker.py.
|
private |
Definition at line 94 of file device_tracker.py.