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

Public Member Functions

None __init__ (self, VodafoneStationRouter coordinator, VodafoneStationDeviceInfo device_info)
 
str|None ip_address (self)
 
bool is_connected (self)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.CoordinatorEntity
None __init__ (self, _DataUpdateCoordinatorT coordinator, Any context=None)
 
None async_update (self)
 
bool available (self)
 
- Public Member Functions inherited from homeassistant.components.vodafone_station.coordinator.VodafoneStationRouter
None __init__ (self, HomeAssistant hass, str host, str username, str password, str|None config_entry_unique_id)
 
DeviceInfo device_info (self)
 
str serial_number (self)
 
str signal_device_new (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

VodafoneStationDeviceInfo _device_info (self)
 

Private Attributes

 _attr_hostname
 
 _attr_mac_address
 
 _attr_unique_id
 
 _coordinator
 

Static Private Attributes

string _attr_translation_key = "device_tracker"
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.vodafone_station.coordinator.VodafoneStationRouter
 api
 
- 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 Vodafone Station device.

Definition at line 60 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker.__init__ (   self,
VodafoneStationRouter  coordinator,
VodafoneStationDeviceInfo   device_info 
)
Initialize a Vodafone Station device.

Definition at line 66 of file device_tracker.py.

Member Function Documentation

◆ _device_info()

VodafoneStationDeviceInfo homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._device_info (   self)
private
Return fresh data for the device.

Definition at line 78 of file device_tracker.py.

◆ ip_address()

str | None homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker.ip_address (   self)
Return the primary ip address of the device.

Definition at line 88 of file device_tracker.py.

◆ is_connected()

bool homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker.is_connected (   self)
Return true if the device is connected to the network.

Definition at line 83 of file device_tracker.py.

Member Data Documentation

◆ _attr_hostname

homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._attr_hostname
private

Definition at line 75 of file device_tracker.py.

◆ _attr_mac_address

homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._attr_mac_address
private

Definition at line 73 of file device_tracker.py.

◆ _attr_translation_key

string homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._attr_translation_key = "device_tracker"
staticprivate

Definition at line 63 of file device_tracker.py.

◆ _attr_unique_id

homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._attr_unique_id
private

Definition at line 74 of file device_tracker.py.

◆ _coordinator

homeassistant.components.vodafone_station.device_tracker.VodafoneStationTracker._coordinator
private

Definition at line 71 of file device_tracker.py.


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