Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tile.device_tracker.TileDeviceTracker Class Reference
Inheritance diagram for homeassistant.components.tile.device_tracker.TileDeviceTracker:
[legend]
Collaboration diagram for homeassistant.components.tile.device_tracker.TileDeviceTracker:
[legend]

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
 

Detailed Description

Representation of a network infrastructure device.

Definition at line 78 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ _handle_coordinator_update()

None homeassistant.components.tile.device_tracker.TileDeviceTracker._handle_coordinator_update (   self)
private
Respond to a DataUpdateCoordinator update.

Definition at line 107 of file device_tracker.py.

◆ _update_from_latest_data()

None homeassistant.components.tile.device_tracker.TileDeviceTracker._update_from_latest_data (   self)
private
Update the entity from the latest data.

Definition at line 113 of file device_tracker.py.

◆ async_added_to_hass()

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.

◆ available()

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.

◆ device_info()

DeviceInfo homeassistant.components.tile.device_tracker.TileDeviceTracker.device_info (   self)
Return device info.

Definition at line 102 of file device_tracker.py.

Member Data Documentation

◆ _attr_extra_state_attributes

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_extra_state_attributes
private

Definition at line 91 of file device_tracker.py.

◆ _attr_has_entity_name

bool homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_has_entity_name = True
staticprivate

Definition at line 81 of file device_tracker.py.

◆ _attr_latitude

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_latitude
private

Definition at line 118 of file device_tracker.py.

◆ _attr_location_accuracy

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_location_accuracy
private

Definition at line 119 of file device_tracker.py.

◆ _attr_longitude

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_longitude
private

Definition at line 115 of file device_tracker.py.

◆ _attr_name

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_name = None
staticprivate

Definition at line 82 of file device_tracker.py.

◆ _attr_translation_key

string homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_translation_key = "tile"
staticprivate

Definition at line 83 of file device_tracker.py.

◆ _attr_unique_id

homeassistant.components.tile.device_tracker.TileDeviceTracker._attr_unique_id
private

Definition at line 92 of file device_tracker.py.

◆ _entry

homeassistant.components.tile.device_tracker.TileDeviceTracker._entry
private

Definition at line 93 of file device_tracker.py.

◆ _tile

homeassistant.components.tile.device_tracker.TileDeviceTracker._tile
private

Definition at line 94 of file device_tracker.py.


The documentation for this class was generated from the following file: